Skip to content

A free open source IT asset/license management system

Fixed #6386 - licenses not searching on category name

snipe67d2953080af
diff --git a/app/Models/License.php b/app/Models/License.php
index c953bf9dd5..90e3365b08 100755
--- a/app/Models/License.php
+++ b/app/Models/License.php
@@ -104,6 +104,7 @@ class License extends Depreciable
protected $searchableRelations = [
'manufacturer' => ['name'],
'company' => ['name'],
+ 'category' => ['name'],
];
/**