mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Exclude manufacturer on filter sort
This commit is contained in:
parent
566fd4d2e1
commit
afe6f43a1b
|
@ -941,7 +941,7 @@ class Asset extends Depreciable
|
|||
}
|
||||
|
||||
if (($fieldname!='category') && ($fieldname!='location')
|
||||
&& ($fieldname!='status_label') && ($fieldname!='model')) {
|
||||
&& ($fieldname!='status_label') && ($fieldname!='model') && ($fieldname!='manufacturer')) {
|
||||
$query->orWhere('assets.'.$fieldname, 'LIKE', '%' . $search_val . '%');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue