From: Simon Green Date: Mon, 2 Dec 2013 22:36:04 +0000 (+1000) Subject: Bug 944586 - URLs in the query results are not links X-Git-Tag: bugzilla-4.5.2~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8395124b3664e9216e47234b0000ef81341f520;p=thirdparty%2Fbugzilla.git Bug 944586 - URLs in the query results are not links r=glob, a=sgreen --- diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index e685425159..17eade1fe9 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -206,6 +206,11 @@ [%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%] + [% ELSIF column == 'bug_file_loc' && is_safe_url(bug.bug_file_loc) %] + + [%- display_value(column, bug.$column).truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%] + [% ELSE %] [%- display_value(column, bug.$column).truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%] [% END %]