mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Fixed problem that MPN was not used as search field
Fixes issue #277 and #276
This commit is contained in:
parent
ccaad1c305
commit
1eb9c38aee
2 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,7 @@ class PartSearchFilter implements FilterInterface
|
|||
$fields_to_search[] = 'orderdetails.supplierpartnr';
|
||||
}
|
||||
if($this->mpn) {
|
||||
$fields_to_search[] = 'part.manufacturer_product_url';
|
||||
$fields_to_search[] = 'part.manufacturer_product_number';
|
||||
}
|
||||
if($this->supplier) {
|
||||
$fields_to_search[] = 'suppliers.name';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue