From: Dylan Hardison Date: Thu, 19 May 2016 23:39:45 +0000 (-0400) Subject: Bug 1272548 - bug link in header broken if format param specified X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ea5eeb0523b05f4280e5b637dde7ab1646a48c;p=thirdparty%2Fbugzilla.git Bug 1272548 - bug link in header broken if format param specified --- 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 %]