From 01ea5eeb0523b05f4280e5b637dde7ab1646a48c Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Thu, 19 May 2016 19:39:45 -0400 Subject: Bug 1272548 - bug link in header broken if format param specified --- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'extensions') diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 25f785a9d..06b6c801d 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -166,9 +166,12 @@ view_only = 1 %]
- + [% this_bug_href = "show_bug.cgi?id=$bug.id" %] + [% IF cgi.param("format") %] + [% format_uri = cgi.param("format") FILTER uri %] + [% this_bug_href = this_bug_href _ "&format=" _ format_uri %] + [% END %] + [%~ terms.Bug _ " " _ bug.id FILTER none ~%] [% IF bug.alias %] -- cgit v1.2.3-24-g4f1b