Added ability to search consumables by item number

Fixes ch1086
This commit is contained in:
snipe 2019-03-05 23:20:16 -08:00
parent 28a450ea25
commit 3b41aa52c8

View file

@ -76,7 +76,7 @@ class Consumable extends SnipeModel
*
* @var array
*/
protected $searchableAttributes = ['name', 'order_number', 'purchase_cost', 'purchase_date'];
protected $searchableAttributes = ['name', 'order_number', 'purchase_cost', 'purchase_date', 'item_no'];
/**
* The relations and their attributes that should be included when searching the model.