Added ID to search options. Fixed seach option by using equal to instead of like for the ID.

This commit is contained in:
kernchen-brc 2026-01-09 11:37:30 +01:00
parent 2157916e9b
commit 64efca4786
3 changed files with 56 additions and 18 deletions

View file

@ -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'));