Skip to content

A free open source IT asset/license management system

update scope for directLicense.category"

Godfrey M11c8fd4d4c7d
diff --git a/app/Models/User.php b/app/Models/User.php
index 6bc3ec0e45..309d351389 100644
--- a/app/Models/User.php
+++ b/app/Models/User.php
@@ -1289,6 +1289,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
->where('action_type', 'accepted'),
'consumables.category',
'consumables.manufacturer',
+ 'directLicenses.category',
'licenses.category',
])
->withTrashed();