summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
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/search
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/search')
-rw-r--r--template/en/default/search/knob.html.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/template/en/default/search/knob.html.tmpl b/template/en/default/search/knob.html.tmpl
index c92ad92cc..68d279047 100644
--- a/template/en/default/search/knob.html.tmpl
+++ b/template/en/default/search/knob.html.tmpl
@@ -21,6 +21,15 @@
# Jouni Heikniemi <jouni@heikniemi.net>
#%]
+[%# INTERFACE:
+ # (incomplete!)
+ # ...
+ # known_name: string. Possibly known stored name for the query being
+ # edited. This value is just passed through in a
+ # hidden field.
+ #%]
+
+
[% PROCESS global/variables.none.tmpl %]
[%# This is not necessary for English templates, but useful for localisers. %]
@@ -46,6 +55,10 @@
<p>
<input type="submit" value="[% button_name FILTER html %]">
+ [% IF known_name %]
+ <input type="hidden" name="query_based_on"
+ value="[% known_name FILTER html %]">
+ [% END %]
</p>
<p>