Skip to content

A free open source IT asset/license management system

Fixed #6386 - licenses not searching on category name

snipe192aa9eb7177
diff --git a/app/Models/License.php b/app/Models/License.php
index 9685b4b8f6..337b30943e 100755
--- a/app/Models/License.php
+++ b/app/Models/License.php
@@ -110,6 +110,7 @@ class License extends Depreciable
protected $searchableRelations = [
'manufacturer' => ['name'],
'company' => ['name'],
+ 'category' => ['name'],
];
public static function boot()