summaryrefslogtreecommitdiffstats
path: root/describekeywords.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'describekeywords.cgi')
-rwxr-xr-xdescribekeywords.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/describekeywords.cgi b/describekeywords.cgi
index 5ff5c5089..9796b77d5 100755
--- a/describekeywords.cgi
+++ b/describekeywords.cgi
@@ -35,6 +35,9 @@ my $cgi = Bugzilla->cgi;
my $template = Bugzilla->template;
my $vars = {};
+# Run queries against the shadow DB.
+Bugzilla->switch_to_shadow_db;
+
$vars->{'keywords'} = Bugzilla::Keyword->get_all_with_bug_count();
$vars->{'caneditkeywords'} = Bugzilla->user->in_group("editkeywords");