mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Fixed search by model on adsvanced search for assets
This commit is contained in:
parent
b3b8ab493e
commit
f95502ae35
|
@ -935,7 +935,7 @@ class Asset extends Depreciable
|
|||
}
|
||||
}
|
||||
|
||||
if (($fieldname!='category') && ($fieldname!='status_label')) {
|
||||
if (($fieldname!='category') && ($fieldname!='status_label') && ($fieldname!='model')) {
|
||||
$query->orWhere('assets.'.$fieldname, 'LIKE', '%' . $search_val . '%');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue