Add model_number to accessory search
This commit is contained in:
parent
bb4c443cd9
commit
f7e4fca70d
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class Accessory extends SnipeModel
|
|||
$query->where('locations.name', 'LIKE', '%'.$search.'%');
|
||||
});
|
||||
})->orWhere('accessories.name', 'LIKE', '%'.$search.'%')
|
||||
->orWhere('accessories.model_number', 'LIKE', '%'.$search.'%')
|
||||
->orWhere('accessories.order_number', 'LIKE', '%'.$search.'%')
|
||||
->orWhere('accessories.purchase_cost', 'LIKE', '%'.$search.'%')
|
||||
->orWhere('accessories.purchase_date', 'LIKE', '%'.$search.'%');
|
||||
|
|
Loading…
Add table
Reference in a new issue