mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Nicer formatting for searchableAttributes
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
eb5d93b3c2
commit
486cd8c8c9
|
@ -79,7 +79,12 @@ class AssetModel extends SnipeModel
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $searchableAttributes = ['name', 'model_number', 'notes', 'eol'];
|
protected $searchableAttributes = [
|
||||||
|
'name',
|
||||||
|
'model_number',
|
||||||
|
'notes',
|
||||||
|
'eol'
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The relations and their attributes that should be included when searching the model.
|
* The relations and their attributes that should be included when searching the model.
|
||||||
|
|
Loading…
Reference in a new issue