Module: check_mk
Branch: master
Commit: 5b336305baec12eed346d82876a5d0e776b70911
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5b336305baec12…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jun 6 15:02:05 2016 +0200
Fixed bug where view sort links could set wrong display options
---
web/htdocs/views.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 236f0db..ad955ee 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -364,8 +364,7 @@ def prepare_display_options():
# "DisplayOptions.options" but this contains the implicit options which
should
# not be added to the URLs. So the real parameters need to be preserved for
# this case.
- if html.var('display_options'):
- DisplayOptions.title_options = html.var("display_options")
+ DisplayOptions.title_options = html.var("display_options")
# If display option 'M' is set, then all links are targetet to the
'main'
# frame. Also the display options are removed since the view in the main