summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-12-01 08:30:40 +0100
committerByron Jones <glob@mozilla.com>2015-12-01 08:30:40 +0100
commit944f4c76700090704b1d4100fac2db4d647ede67 (patch)
tree83095fce9233b39f230c9c2d22e265940a879896 /template
parent7bf9ad78543d0f95c655afab376de6fc4687f3d2 (diff)
downloadbugzilla-944f4c76700090704b1d4100fac2db4d647ede67.tar.gz
bugzilla-944f4c76700090704b1d4100fac2db4d647ede67.tar.xz
Bug 1229198 - When saving a buglist from a saved search as a CSV file, set the filename to <saved-query-name>.csv
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/list.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 0920a0669..d825cf9ce 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -213,7 +213,8 @@
[% Hook.process("links") %]
<a href="buglist.cgi?
- [% urlquerypart FILTER html %]&amp;ctype=csv&amp;human=1">CSV</a> |
+ [% urlquerypart FILTER html %]&amp;ctype=csv&amp;human=1
+ [%~ IF searchname %]&amp;namedcmd=[% searchname FILTER uri %][% END %]">CSV</a> |
<a href="buglist.cgi?
[% urlquerypart FILTER html %]&amp;title=
[%- title FILTER uri %]&amp;ctype=atom">Feed</a> |