Commit 4a6306d5 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

noc/noc#1846 Add description to ResourceGroup Search field.

parent 84fd2705
......@@ -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