Module: check_mk
Branch: master
Commit: ce302ed725faf3915b2bc6031ed8ff281151febf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ce302ed725faf3…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon May 2 13:13:05 2011 +0200
Catching minus value in column selection
---
web/htdocs/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 31a6ad7..9446541 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -912,7 +912,7 @@ def create_view():
tooltip = html.var("col_tooltip_%d" % n)
join_index = html.var('col_join_index_%d' % n)
col_title = html.var('col_title_%d' % n)
- if pname:
+ if pname and pname != '-':
if viewname not in html.available_views:
viewname = None