Module: check_mk
Branch: master
Commit: 5bf786d96063f03fd4d09b1c527125c0e498ced7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5bf786d96063f0…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun May 6 12:23:47 2012 +0200
fixed filter of recent event views (4 hours didn't catch)
---
ChangeLog | 3 +++
web/plugins/views/dashboard.py | 8 +++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3f69811..ef5280b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
WATO:
* ps and ps.perf configurable via WATO now (without inventory)
+ Multisite:
+ * FIX: fixed filter of recent event views (4 hours didn't catch)
+
Mobile GUI:
* FIX: commands can be executed again
* FIX: fixed styling of buttons
diff --git a/web/plugins/views/dashboard.py b/web/plugins/views/dashboard.py
index 94c2013..821f72f 100644
--- a/web/plugins/views/dashboard.py
+++ b/web/plugins/views/dashboard.py
@@ -131,11 +131,9 @@ multisite_builtin_views.update({
'description': 'Events of the last 4 hours.',
'group_painters': [],
'hard_filters': ['logtime'],
- 'hard_filtervars': [('logtime', 'since'),
- ('logtime_sec', '0'),
- ('logtime_min', '0'),
- ('logtime_hours', '4'),
- ('logtime_days', '0'),
+ 'hard_filtervars': [
+ ('logtime_from_range', '3600'),
+ ('logtime_from', '4'),
],
'hidden': False,
'hide_filters': [],