summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2003-11-14 19:22:04 +0100
committerjocuri%softhome.net <>2003-11-14 19:22:04 +0100
commit088cfbc5960e30d8d7b47dee22c6cddd14cd581c (patch)
tree3997eb6830fa90e70a9644a70b8db6a357e68d29
parent128218230d7c43f7f574e1ad8b23b3564e3341b1 (diff)
downloadbugzilla-088cfbc5960e30d8d7b47dee22c6cddd14cd581c.tar.gz
bugzilla-088cfbc5960e30d8d7b47dee22c6cddd14cd581c.tar.xz
Bug 223473: Query not resubmitted after changing columns; r=justdave; a=justdave.
-rwxr-xr-xcolchange.cgi3
-rw-r--r--template/en/default/global/messages.html.tmpl2
2 files changed, 4 insertions, 1 deletions
diff --git a/colchange.cgi b/colchange.cgi
index e5b8e6f79..9ffda83d6 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -102,8 +102,9 @@ if (defined $::FORM{'rememberedquery'}) {
-value => $::FORM{'splitheader'},
-expires => 'Fri, 01-Jan-2038 00:00:00 GMT');
- print $cgi->redirect("buglist.cgi?$::FORM{'rememberedquery'}");
$vars->{'message'} = "change_columns";
+ $vars->{'redirect_url'} = "buglist.cgi?$::FORM{'rememberedquery'}";
+ print $cgi->redirect($vars->{'redirect_url'});
$template->process("global/message.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index 750bc5cfa..57994ebb2 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -61,6 +61,8 @@
[% ELSIF message_tag == "change_columns" %]
[% title = "Change columns" %]
Resubmitting your query with new columns...
+ Click <a href="[% redirect_url FILTER html %]">here</a>
+ if the page does not automatically refresh.
[% ELSIF message_tag == "emailold_change_cancelled" %]
[% title = "Cancel Request to Change Email Address" %]