mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed search query for default sorting
This commit is contained in:
parent
f5ce580593
commit
3799ab87ed
|
@ -914,7 +914,7 @@ class Asset extends Depreciable
|
|||
}
|
||||
|
||||
|
||||
$query->orWhere($fieldname, 'LIKE', '%' . $search_val . '%');
|
||||
$query->orWhere('assets.'.$fieldname, 'LIKE', '%' . $search_val . '%');
|
||||
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue