Fixed search query for default sorting

This commit is contained in:
snipe 2017-10-23 20:10:37 -07:00
parent f5ce580593
commit 3799ab87ed

View file

@ -914,7 +914,7 @@ class Asset extends Depreciable
}
$query->orWhere($fieldname, 'LIKE', '%' . $search_val . '%');
$query->orWhere('assets.'.$fieldname, 'LIKE', '%' . $search_val . '%');
});