Fixed ch1086 - Merge branch 'fixes/search_consumables_by_item_number' into develop

# Conflicts:
#	app/Http/Controllers/Api/UsersController.php
This commit is contained in:
snipe 2019-03-05 23:23:46 -08:00
commit 6f1a70ee09

View file

@ -74,7 +74,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.