Skip to content
Open
Prev Previous commit
Revert "Fix order_delivery"
This reverts commit 571c586.
  • Loading branch information
Fabian Wunsch committed Nov 13, 2025
commit 108d331a544690d9e2540a5d6ad2fd25096ae5d5
2 changes: 1 addition & 1 deletion src/DataTables/Filters/PartFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function __construct(NodesListBuilder $nodesListBuilder)

$this->minAmount = new NumberConstraint('part.minamount');
$this->orderAmount = new NumberConstraint('part.orderamount');
$this->orderDelivery = new DateTimeConstraint('part.order_delivery');
$this->orderDelivery = new DateTimeConstraint('part.orderDelivery');
/* We have to use an IntConstraint here because otherwise we get just an empty result list when applying the filter
This seems to be related to the fact, that PDO does not have an float parameter type and using string type does not work in this situation (at least in SQLite)
TODO: Find a better solution here
Expand Down