mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixed ch1086 - Merge branch 'fixes/search_consumables_by_item_number' into develop
# Conflicts: # app/Http/Controllers/Api/UsersController.php
This commit is contained in:
commit
6f1a70ee09
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue