mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixes filtering on status label
This commit is contained in:
parent
513a1b1e3b
commit
87affa40ed
|
@ -935,7 +935,7 @@ class Asset extends Depreciable
|
|||
}
|
||||
}
|
||||
|
||||
if ($fieldname!='category') {
|
||||
if (($fieldname!='category') && ($fieldname!='status_label')) {
|
||||
$query->orWhere('assets.'.$fieldname, 'LIKE', '%' . $search_val . '%');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue