summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 63d8cd0dd..b9fc8a52c 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -902,6 +902,10 @@ if ($dotweak) {
}
}
+# If we're editing a stored query, use the existing query name as default for
+# the "Remember search as" field.
+$vars->{'defaultsavename'} = $cgi->param('query_based_on');
+
################################################################################
# HTTP Header Generation