Merge branch 'develop' into feature/locations_with_companies

This commit is contained in:
snipe
2025-04-08 09:18:48 +01:00
committed by GitHub
1296 changed files with 22928 additions and 11086 deletions
+2 -1
View File
@@ -77,6 +77,7 @@ class Location extends SnipeModel
'manager_id',
'image',
'company_id',
'notes',
];
protected $hidden = ['user_id'];
@@ -87,7 +88,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.