Commit 9f970402 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 232161 - add ability to forget or edit saved searches when the search throws…

Bug 232161 - add ability to forget or edit saved searches when the search throws an error. Patch by gerv; r,a=justdave.
parent 8dc09cd5
...@@ -734,4 +734,26 @@ ...@@ -734,4 +734,26 @@
Please press <b>Back</b> and try again. Please press <b>Back</b> and try again.
</p> </p>
[%# If a saved search fails, people want the ability to edit or delete it.
# This is the best way of getting information about that possible saved
# search from any error call location. %]
[% USE Bugzilla %]
[% namedcmd = Bugzilla.cgi.param("namedcmd") %]
[% IF namedcmd %]
<p>
Alternatively, you can
<a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
[% namedcmd FILTER html %]">forget</a>
[% FOREACH q = Bugzilla.user.queries %]
[% IF q.name == namedcmd %]
or <a href="query.cgi?[% q.query FILTER html %]">edit</a>
[% END %]
[% END %]
this saved search: '[% namedcmd FILTER html %]'.
</p>
[% END %]
[% PROCESS global/footer.html.tmpl %] [% PROCESS global/footer.html.tmpl %]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment