Module: check_mk
Branch: master
Commit: cf93013bd083114c5769472e96c8f9924dba09e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cf93013bd08311…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Nov 14 11:35:51 2016 +0100
4066 FIX Fixed broken titles of nodes in inventory views
---
.werks/4066 | 9 +++++++++
ChangeLog | 3 +++
web/plugins/views/inventory.py | 4 ++--
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.werks/4066 b/.werks/4066
new file mode 100644
index 0000000..41728ee
--- /dev/null
+++ b/.werks/4066
@@ -0,0 +1,9 @@
+Title: Fixed broken titles of nodes in inventory views
+Level: 1
+Component: inv
+Compatible: compat
+Version: 1.4.0i3
+Date: 1479119699
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 0f0c02a..ed18094 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,9 @@
Livestatus:
* 3651 FIX: Fixed potential segfault with Nagios core when accessing log/commands
table via Livestatus....
+ HW/SW-Inventory:
+ * 4066 FIX: Fixed broken titles of nodes in inventory views
+
1.4.0i2:
Core & Setup:
diff --git a/web/plugins/views/inventory.py b/web/plugins/views/inventory.py
index 5230fd4..38e4de9 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -168,8 +168,8 @@ def render_inv_subtree_dict(hostname, tree_id, invpath, node):
html.open_table()
for title, invpath_sub, value in leaf_nodes:
html.open_tr()
- html.open_th(title=title)
- html.write(invpath_sub)
+ html.open_th(title=invpath_sub)
+ html.write(title)
html.close_th()
html.open_td()