Module: check_mk
Branch: master
Commit: efaf392e40073c70e4a0d464363e1611f925e786
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=efaf392e40073c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 27 09:13:34 2015 +0100
#2142 FIX Fix non-working option for disabling column headers in grouped boxed views
For example the pages showing graphs after a graph search would show <i>Service
graphs</i>
above each graph. This has been fixed.
---
.werks/2142 | 11 +++++++++++
ChangeLog | 1 +
web/plugins/views/layouts.py | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/2142 b/.werks/2142
new file mode 100644
index 0000000..ab052ed
--- /dev/null
+++ b/.werks/2142
@@ -0,0 +1,11 @@
+Title: Fix non-working option for disabling column headers in grouped boxed views
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1427443957
+
+For example the pages showing graphs after a graph search would show <i>Service
graphs</i>
+above each graph. This has been fixed.
diff --git a/ChangeLog b/ChangeLog
index d612ee4..0ed7757 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -346,6 +346,7 @@
* 1953 FIX: Fixed processing of html processing in input fields...
* 2157 FIX: LDAP: Fixed group-to-role/group-to-contactgroup sync with OpenLDAP (using
posixGroup)
* 2141 FIX: Fix computation of explicit time ranges with time of day...
+ * 2142 FIX: Fix non-working option for disabling column headers in grouped boxed
views...
WATO:
* 1760 Added search form to manual checks page
diff --git a/web/plugins/views/layouts.py b/web/plugins/views/layouts.py
index f9d6f39..3ef7df8 100644
--- a/web/plugins/views/layouts.py
+++ b/web/plugins/views/layouts.py
@@ -184,7 +184,7 @@ def render_grouped_boxes(rows, view, group_painters, painters,
num_columns, show
html.write("</tr>\n")
column_headers = view.get("column_headers")
- if column_headers:
+ if column_headers != "off":
show_header_line()
visible_row_number = 0