Exclude manufacturer on filter sort

This commit is contained in:
snipe 2017-11-09 11:18:04 -08:00
parent 566fd4d2e1
commit afe6f43a1b

View file

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