Module: check_mk
Branch: master
Commit: 1a0823cd4d54df0754cf1b61cc08948d6ab85cbe
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1a0823cd4d54df…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Dec 17 11:03:39 2014 +0100
#1206 FIX Hostname not longer shown as column in host views
---
.werks/1206 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/views/builtin.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/1206 b/.werks/1206
new file mode 100644
index 0000000..0284780
--- /dev/null
+++ b/.werks/1206
@@ -0,0 +1,10 @@
+Title: Hostname not longer shown as column in host views
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1418810580
+
+
diff --git a/ChangeLog b/ChangeLog
index cf01f4c..2f1438e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
* 1781 FIX: Fix broken grouping by host/service group in availability
* 1783 FIX: Finish the view "History of Scheduled Downtimes"...
+ * 1206 FIX: Hostname not longer shown as column in host views
WATO:
* 1760 Added search form to manual checks page
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index ff33c03..d2d6dfb 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -36,7 +36,7 @@ service_view_painters = [
]
# Same as list of services, but extended by the hostname
-host_service_view_painters = service_view_painters
+host_service_view_painters = service_view_painters[:]
host_service_view_painters.insert(1, ('host', 'host'))
multisite_builtin_views.update({