From a2eca825a00b33912ec60f797d1112115772ec30 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Thu, 9 Mar 2006 08:08:57 +0000 Subject: Bug 328638: Remove @::legal_keywords and %::keywordsbyname Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- Bugzilla/Search/Quicksearch.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Search') diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm index 4d9958c63..e4224b959 100644 --- a/Bugzilla/Search/Quicksearch.pm +++ b/Bugzilla/Search/Quicksearch.pm @@ -27,6 +27,7 @@ use Bugzilla; use Bugzilla::Config; use Bugzilla::Error; use Bugzilla::Constants; +use Bugzilla::Keyword; use Bugzilla::Bug; use base qw(Exporter); @@ -325,7 +326,7 @@ sub quicksearch { $word, $negate); } if (grep({lc($word) eq $_} - @::legal_keywords)) { + map($_->name, Bugzilla::Keyword::get_all_keywords()))) { addChart('keywords', 'substring', $word, $negate); if (length($word)>2) { -- cgit v1.2.3-24-g4f1b