A free open source IT asset/license management system
Nicer formatting for searchableAttributes
snipe486cd8c8c98d
diff --git a/app/Models/AssetModel.php b/app/Models/AssetModel.phpindex 3c023507db..e9b859e128 100755--- a/app/Models/AssetModel.php+++ b/app/Models/AssetModel.php@@ -79,7 +79,12 @@ class AssetModel extends SnipeModel** @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.