summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi12
1 files changed, 12 insertions, 0 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 3b320fa74..f2b9445ed 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -294,6 +294,14 @@ sub DoPermissions {
# No SavePermissions() because this panel has no changeable fields.
+
+sub DoSavedSearches() {
+ $vars->{'queries'} = Bugzilla->user->queries;
+}
+
+# No SaveSavedSearches() because this panel has no changeable fields (yet).
+
+
###############################################################################
# Live code (not subroutine definitions) starts here
###############################################################################
@@ -330,6 +338,10 @@ SWITCH: for ($current_tab_name) {
DoPermissions();
last SWITCH;
};
+ /^saved-searches$/ && do {
+ DoSavedSearches();
+ last SWITCH;
+ };
ThrowUserError("unknown_tab",
{ current_tab_name => $current_tab_name });
}