Module: check_mk
Branch: master
Commit: fc691eac94bc8caad16740c96ba6495dfc24b0aa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fc691eac94bc8c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Nov 6 13:39:02 2015 +0100
#2729 FIX Hosts/Hostproblems snapin: Fixed wrong livestatus query when filtering lists
---
.werks/2729 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/sidebar/shipped.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2729 b/.werks/2729
new file mode 100644
index 0000000..05dcd91
--- /dev/null
+++ b/.werks/2729
@@ -0,0 +1,10 @@
+Title: Hosts/Hostproblems snapin: Fixed wrong livestatus query when filtering lists
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i4
+Date: 1446813511
+
+
diff --git a/ChangeLog b/ChangeLog
index 121da3d..fdf601d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -68,6 +68,7 @@
* 2670 FIX: Fix problem that no site is configured when user has deleted only
site...
* 2717 FIX: Fixed broken webserver level authentication integration (e.g. basic,
kerberos)...
* 2722 FIX: Fixed some icon links from views opening in dashlet frames instead of the
whole page...
+ * 2729 FIX: Hosts/Hostproblems snapin: Fixed wrong livestatus query when filtering
lists
WATO:
* 2442 WATO remove host: improved cleanup of obsolete host files...
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index 1d8bd5b..9580b08 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -237,7 +237,7 @@ sidebar_snapins["servicegroups"] = {
def render_hosts(mode):
html.live.set_prepend_site(True)
- query = "GET hosts\nColumns: name state worst_service_state\nLimit: 100"
+ query = "GET hosts\nColumns: name state worst_service_state\nLimit: 100\n"
view = "host"
if mode == "summary":