Added notes to searchable and fillable attributes

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-02-11 00:33:51 +00:00
parent 1f1e1401cf
commit e6ae9cae6b
4 changed files with 9 additions and 5 deletions
+2 -1
View File
@@ -72,6 +72,7 @@ class Location extends SnipeModel
'currency',
'manager_id',
'image',
'notes',
];
protected $hidden = ['user_id'];
@@ -82,7 +83,7 @@ class Location extends SnipeModel
*
* @var array
*/
protected $searchableAttributes = ['name', 'address', 'city', 'state', 'zip', 'created_at', 'ldap_ou', 'phone', 'fax'];
protected $searchableAttributes = ['name', 'address', 'city', 'state', 'zip', 'created_at', 'ldap_ou', 'phone', 'fax', 'notes'];
/**
* The relations and their attributes that should be included when searching the model.