Module: check_mk
Branch: master
Commit: cd118e089b582dacd12aacad4daaa1a543870073
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cd118e089b582d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 14 09:29:11 2011 +0100
Try to fix view count again
---
web/htdocs/views.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index e259d3a..0da8881 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -1262,6 +1262,8 @@ def show_view(view, show_heading = False, show_buttons = True,
# TODO: Use livestatus Stats: instead of fetching rows!
if only_count:
+ for varname, value in view["hard_filtervars"]:
+ html.del_var(varname, value)
return len(rows)
# Set browser reload