Skip to content

Commit 87affa4

Browse files
committed
Fixes filtering on status label
1 parent 513a1b1 commit 87affa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/Asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ public function scopeByFilter($query, $filter)
935935
}
936936
}
937937

938-
if ($fieldname!='category') {
938+
if (($fieldname!='category') && ($fieldname!='status_label')) {
939939
$query->orWhere('assets.'.$fieldname, 'LIKE', '%' . $search_val . '%');
940940
}
941941

0 commit comments

Comments
 (0)