Module: check_mk
Branch: master
Commit: 06b911de410c4314df34a5f779cadbb1f4dc5b50
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=06b911de410c43…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Aug 17 12:05:42 2017 +0200
Reduced displayed contact groups to 20 in host properties > permissions
Change-Id: I5f22212374981c4b26ef9787d0de02f3b7d7ead9
---
web/htdocs/watolib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index 13e2e2e..d53d229 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -3210,7 +3210,7 @@ class ContactGroupsAttribute(Attribute):
cg_choices = sorted([(cg_id, cg_attrs.get("alias", cg_id))
for cg_id, cg_attrs in self._contactgroups.items()],
key=lambda x: x[1])
- return DualListChoice(choices=cg_choices, rows=40, size=100)
+ return DualListChoice(choices=cg_choices, rows=20, size=100)
def initialize_host_attribute_structures():