Module: check_mk
Branch: master
Commit: 0965f8433cacee08e317234d6674a237dd3502db
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0965f8433caceeā¦
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 4 11:54:31 2016 +0200
Fixed werk back link setting the werk ID as url variable
---
web/htdocs/werks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/werks.py b/web/htdocs/werks.py
index 621d76e..b70e53d 100644
--- a/web/htdocs/werks.py
+++ b/web/htdocs/werks.py
@@ -126,7 +126,7 @@ def page_werk():
html.header(("%s %s - %s") % (_("Werk"), render_werk_id(werk,
with_link=False), werk["title"]), stylesheets = werks_stylesheets)
html.begin_context_buttons()
- back_url = html.makeuri([], filename="version.py") # keeps filter settings
+ back_url = html.makeuri([], filename="version.py",
delvars=["werk"]) # keeps filter settings
html.context_button(_("Back"), back_url, "back")
if werk["compatible"] == "incomp_unack" and may_acknowledge():
ack_url = html.makeactionuri([("_werk_ack", werk["id"])],
filename="version.py")