mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-21 01:29:33 +00:00
Added ID to search options. Fixed seach option by using equal to instead of like for the ID.
This commit is contained in:
parent
2157916e9b
commit
64efca4786
3 changed files with 56 additions and 18 deletions
|
|
@ -319,6 +319,7 @@ class PartListsController extends AbstractController
|
|||
|
||||
//As an unchecked checkbox is not set in the query, the default value for all bools have to be false (which is the default argument value)!
|
||||
$filter->setName($request->query->getBoolean('name'));
|
||||
$filter->setDbId($request->query->getBoolean('dbid'));
|
||||
$filter->setCategory($request->query->getBoolean('category'));
|
||||
$filter->setDescription($request->query->getBoolean('description'));
|
||||
$filter->setMpn($request->query->getBoolean('mpn'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue