Commit bcda91ea authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'noc-1846' into 'master'

#1846 Add description to ResourceGroup Search field.

See merge request !6426

(cherry picked from commit 14a4eca4)

236b60ce Add description to ResourceGroup Search field.
parent 5f6fe851
Pipeline #36692 passed with stages
in 14 minutes and 37 seconds
......@@ -50,7 +50,7 @@ class ManagedObjectJsonDS(JsonDSAPI):
and model_id == "sa.ManagedObject"
and not user.is_superuser
and obj.administrative_domain not in UserAccess.get_domains(user)
and not in UserAccess.get_domains(user)
raise HTTPException(status_code=404, detail="Not Access to requested device")
return obj.bi_id if obj else None
......@@ -38,7 +38,7 @@ class ResourceGroupApplication(ExtDocApplication):
menu = [_("Resource Groups")]
model = ResourceGroup
glyph = "object-group"
query_fields = ["name"]
query_fields = ["name", "description"]
query_condition = "icontains"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment