summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-30 05:55:08 +0100
committerlpsolit%gmail.com <>2006-12-30 05:55:08 +0100
commit840eaae09a5f1118e290db7c6a38441eabb953dc (patch)
treecb3dc01906fae874a27baee6dc0d4877a9c68b4d /template/en/default
parent43b17e5fc7f29f6d4f952ba6fc83902a497a6fc8 (diff)
downloadbugzilla-840eaae09a5f1118e290db7c6a38441eabb953dc.tar.gz
bugzilla-840eaae09a5f1118e290db7c6a38441eabb953dc.tar.xz
Bug 365300: [mod_perl] Editing a saved search does not re-populate the search page - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/search/knob.html.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/template/en/default/search/knob.html.tmpl b/template/en/default/search/knob.html.tmpl
index 407683747..58c83fdef 100644
--- a/template/en/default/search/knob.html.tmpl
+++ b/template/en/default/search/knob.html.tmpl
@@ -57,8 +57,11 @@
<input type="submit" id="[% button_name FILTER html %]"
value="[% button_name FILTER html %]">
[% IF known_name %]
- <input type="hidden" name="query_based_on"
- value="[% known_name FILTER html %]">
+ [%# We store known_name in case the user add a boolean chart. %]
+ <input type="hidden" name="known_name" value="[% known_name FILTER html %]">
+
+ [%# The name of the existing query will be passed to buglist.cgi. %]
+ <input type="hidden" name="query_based_on" value="[% known_name FILTER html %]">
[% END %]
</p>