summaryrefslogtreecommitdiffstats
path: root/template/en/default/list/list.html.tmpl
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2004-07-22 14:14:13 +0200
committerjouni%heikniemi.net <>2004-07-22 14:14:13 +0200
commit96998d6abce5465e93b6876804766e7f189b7621 (patch)
treebdef2d251bca9349435528a629a856a7d8f3c193 /template/en/default/list/list.html.tmpl
parentbf43cc08b073de64ca6348b980651f7171e14103 (diff)
downloadbugzilla-96998d6abce5465e93b6876804766e7f189b7621.tar.gz
bugzilla-96998d6abce5465e93b6876804766e7f189b7621.tar.xz
Bug 98751: Make it easier to update a stored query.
r=gerv, a=justdave
Diffstat (limited to 'template/en/default/list/list.html.tmpl')
-rw-r--r--template/en/default/list/list.html.tmpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index c0291024c..80348906f 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -22,6 +22,7 @@
[%# INTERFACE:
# searchtype: string. Type of search - either "series", "saved" or undef.
# ...
+ # defaultsavename: string. The default name for saving the query.
#%]
[%############################################################################%]
@@ -159,7 +160,11 @@
[% END %]
<td valign="middle">
- <a href="query.cgi?[% urlquerypart FILTER html %]">Edit&nbsp;Search</a>
+ [% editqueryname = searchname OR defaultsavename OR '' %]
+ <a href="query.cgi?[% urlquerypart FILTER html %]
+ [% IF editqueryname != '' %]&amp;known_name=
+ [% editqueryname FILTER url_quote %]
+ [% END %]">Edit&nbsp;Search</a>
</td>
[% IF searchtype == "saved" %]
@@ -179,7 +184,8 @@
value="[% urlquerypart FILTER html %]">
<input type="hidden" name="cmdtype" value="doit">
<input type="hidden" name="remtype" value="asnamed">
- <input type="text" name="newqueryname" size="20">
+ <input type="text" name="newqueryname" size="20"
+ value="[% defaultsavename FILTER html %]">
</form>
</td>
[% END %]