mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-09 12:39:30 +00:00
Fix order_delivery
This commit is contained in:
parent
a64dec2985
commit
571c58675f
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class PartFilter implements FilterInterface
|
|||
|
||||
$this->minAmount = new NumberConstraint('part.minamount');
|
||||
$this->orderAmount = new NumberConstraint('part.orderamount');
|
||||
$this->orderDelivery = new DateTimeConstraint('part.orderDelivery');
|
||||
$this->orderDelivery = new DateTimeConstraint('part.order_delivery');
|
||||
/* 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue