Module: check_mk
Branch: master
Commit: 26d2c793505c4aa95c45418696642bf29d93e698
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=26d2c793505c4a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Sep 6 08:37:09 2011 +0200
FIX: Added idkeys columns to livestatus query
---
web/htdocs/views.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 3e2f2c4..4f1cde4 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -1195,6 +1195,9 @@ def show_view(view, show_heading = False, show_buttons = True,
show_footer = Tru
# Add key columns, needed for executing commands
columns += datasource["keys"]
+ # Add idkey columns, needed for identifying the row
+ columns += datasource["idkeys"]
+
# Make column list unique and remove (implicit) site column
colset = set(columns)
if "site" in colset: