Module: check_mk
Branch: master
Commit: 6176dc990935bb0ce2d2fc9616bf219151d6c840
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6176dc990935bb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 20 11:14:14 2014 +0100
#1529 FIX Mobile-GUI: Fixed "all host problems" view not showing all problems
The view was not showing all problems. Instead it was filtering acknowledged hosts.
---
.werks/1529 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/views/mobile.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/1529 b/.werks/1529
new file mode 100644
index 0000000..40eda92
--- /dev/null
+++ b/.werks/1529
@@ -0,0 +1,10 @@
+Title: Mobile-GUI: Fixed "all host problems" view not showing all problems
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.5i7
+Date: 1416478405
+
+The view was not showing all problems. Instead it was filtering acknowledged hosts.
diff --git a/ChangeLog b/ChangeLog
index 5dfe667..37877bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -59,6 +59,7 @@
* 1501 FIX: Legacy view formats created with 2014-09 snapshots are now converted...
* 1506 FIX: Fixed randomly hidden dashboard title...
* 1527 FIX: Fixed views missing values of some filters (serviceregex, hostgroup
filters, ...)...
+ * 1529 FIX: Mobile-GUI: Fixed "all host problems" view not showing all
problems...
WATO:
* 1170 Added buttons to move rules to top/bottom of the list to ruleset edit dialog
diff --git a/web/plugins/views/mobile.py b/web/plugins/views/mobile.py
index 936a698..2e97c47 100644
--- a/web/plugins/views/mobile.py
+++ b/web/plugins/views/mobile.py
@@ -392,7 +392,7 @@ multisite_builtin_views.update({
('hst1', 'on'),
('hst2', 'on'),
('hstp', ''),
- ('is_host_acknowledged', '0'),
+ ('is_host_acknowledged', '-1'),
('host', ''),
('is_summary_host', '0'),
('opthostgroup', '')