Added ability to search consumables by item number (#6785)

Fixes ch1086
This commit is contained in:
snipe
2019-03-05 23:21:22 -08:00
committed by GitHub
parent 28a450ea25
commit 58768e5aee
+1 -1
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.