diff --git a/app/Models/Category.php b/app/Models/Category.php index 5965404f5..cfa83328a 100755 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -71,6 +71,7 @@ class Category extends SnipeModel 'require_acceptance', 'use_default_eula', 'created_by', + 'notes', ]; use Searchable; @@ -80,7 +81,7 @@ class Category extends SnipeModel * * @var array */ - protected $searchableAttributes = ['name', 'category_type']; + protected $searchableAttributes = ['name', 'category_type', 'notes']; /** * The relations and their attributes that should be included when searching the model. diff --git a/app/Models/Group.php b/app/Models/Group.php index 7278152df..ef60e6737 100755 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -18,7 +18,8 @@ class Group extends SnipeModel protected $fillable = [ 'name', - 'permissions' + 'permissions', + 'notes', ]; /** @@ -37,7 +38,7 @@ class Group extends SnipeModel * * @var array */ - protected $searchableAttributes = ['name', 'created_at']; + protected $searchableAttributes = ['name', 'created_at', 'notes']; /** * The relations and their attributes that should be included when searching the model. diff --git a/app/Models/Location.php b/app/Models/Location.php index f146d37c6..63cb2de39 100755 --- a/app/Models/Location.php +++ b/app/Models/Location.php @@ -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. diff --git a/app/Models/Manufacturer.php b/app/Models/Manufacturer.php index 1b31f496d..6d7b01067 100755 --- a/app/Models/Manufacturer.php +++ b/app/Models/Manufacturer.php @@ -53,6 +53,7 @@ class Manufacturer extends SnipeModel 'support_url', 'url', 'warranty_lookup_url', + 'notes', ]; use Searchable; @@ -62,7 +63,7 @@ class Manufacturer extends SnipeModel * * @var array */ - protected $searchableAttributes = ['name', 'created_at']; + protected $searchableAttributes = ['name', 'created_at', 'notes']; /** * The relations and their attributes that should be included when searching the model.