mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 11:09:29 +00:00
parent
571c58675f
commit
108d331a54
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.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue