summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-06-02 07:48:14 +0200
committerByron Jones <glob@mozilla.com>2015-06-02 07:48:28 +0200
commitc9cb3d462fe025679ac7829846aaed0e397a7fb0 (patch)
tree7be5c4304a0b8305246c66dad76c4694236e7ea0
parent89e70fd3999e0155c6b81a7b94288c84bb849c32 (diff)
downloadbugzilla-c9cb3d462fe025679ac7829846aaed0e397a7fb0.tar.gz
bugzilla-c9cb3d462fe025679ac7829846aaed0e397a7fb0.tar.xz
Bug 1169301: The REST link at the bottom of buglist.cgi does not work for saved searches as currently written
-rw-r--r--extensions/BMO/template/en/default/hook/list/list-links.html.tmpl8
1 files changed, 2 insertions, 6 deletions
diff --git a/extensions/BMO/template/en/default/hook/list/list-links.html.tmpl b/extensions/BMO/template/en/default/hook/list/list-links.html.tmpl
index fda2b43a9..c6e43c158 100644
--- a/extensions/BMO/template/en/default/hook/list/list-links.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/list/list-links.html.tmpl
@@ -7,9 +7,5 @@
#%]
<a href="rest/bug?include_fields=id,summary,status&amp;
- [% IF quicksearch ~%]
- quicksearch=[% quicksearch FILTER uri %]
- [% ELSE %]
- [% cgi.canonicalise_query('list_id', 'query_format') FILTER none %]"
- [% END %]"
- title="Query as a REST API request">REST</a> |
+ [%- cgi.new(urlquerypart).canonicalise_query('list_id','query_format') FILTER html %]"
+ title="Query as a REST API request">REST</a> |