Module: check_mk
Branch: master
Commit: 413e8e22ad58ead924cea8faef8b36b99bd477cb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=413e8e22ad58ea…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 11 08:19:48 2014 +0100
Fixed order of painters in host and service related list views
---
web/plugins/views/builtin.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index 1cfbb79..68f230d 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -36,9 +36,8 @@ service_view_painters = [
]
# Same as list of services, but extended by the hostname
-host_service_view_painters = [
- ('host', 'host')
-] + service_view_painters
+host_service_view_painters = service_view_painters
+host_service_view_painters.insert(1, ('host', 'host'))
multisite_builtin_views.update({
'allhosts': {'browser_reload': 30,