From 19413a63da4743eba189530396cc36c59f756704 Mon Sep 17 00:00:00 2001
From: snipe <snipe@snipe.net>
Date: Mon, 28 Jun 2021 11:53:17 -0700
Subject: [PATCH] Make notes field searchable on status labels

Signed-off-by: snipe <snipe@snipe.net>
---
 app/Models/Statuslabel.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/Models/Statuslabel.php b/app/Models/Statuslabel.php
index cd4672b84..fc252af71 100755
--- a/app/Models/Statuslabel.php
+++ b/app/Models/Statuslabel.php
@@ -41,7 +41,7 @@ class Statuslabel extends SnipeModel
      * 
      * @var array
      */
-    protected $searchableAttributes = ['name'];
+    protected $searchableAttributes = ['name', 'notes'];
 
     /**
      * The relations and their attributes that should be included when searching the model.
-- 
GitLab