Module: check_mk
Branch: master
Commit: f58f4f3ec1392671bd5bef3220b05add62b128d6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f58f4f3ec13926…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Sep 26 14:06:39 2016 +0200
small styling fix of "several host groups" view filter
---
web/plugins/visuals/filters.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/web/plugins/visuals/filters.py b/web/plugins/visuals/filters.py
index 3eaf307..7ca957c 100644
--- a/web/plugins/visuals/filters.py
+++ b/web/plugins/visuals/filters.py
@@ -275,7 +275,11 @@ class FilterMultigroup(Filter):
return True
def valuespec(self):
- return DualListChoice(choices = all_groups(self.what), rows=2, autoheight=False,
enlarge_active=True)
+ return DualListChoice(
+ choices = all_groups(self.what),
+ rows=3 if self.negateable else 4,
+ enlarge_active=True
+ )
def selection(self):
current = html.var(self.htmlvar, "").strip().split("|")