summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-01-27 13:55:58 +0100
committerGervase Markham <gerv@mozilla.org>2011-01-27 13:55:58 +0100
commite237b7e7583c6e7ab35840050d8bd9ce71ac5a6f (patch)
tree2332fb520622212b28758a620f5548a3388b89e5 /Bugzilla/Search
parent2a5c9e0c4541e0c995f5b53a26e0a9ae9195c031 (diff)
downloadbugzilla-e237b7e7583c6e7ab35840050d8bd9ce71ac5a6f.tar.gz
bugzilla-e237b7e7583c6e7ab35840050d8bd9ce71ac5a6f.tar.xz
Allow extensions to alter quicksearch terms and search format. r=mkanat.
https://bugzilla.mozilla.org/show_bug.cgi?id=621878
Diffstat (limited to 'Bugzilla/Search')
-rw-r--r--Bugzilla/Search/Quicksearch.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm
index b2151ba3a..340421bbb 100644
--- a/Bugzilla/Search/Quicksearch.pm
+++ b/Bugzilla/Search/Quicksearch.pm
@@ -101,6 +101,8 @@ sub FIELD_MAP {
status_whiteboard
cclist_accessible reporter_accessible)};
+ Bugzilla::Hook::process('quicksearch_map', {'map' => \%full_map} );
+
$cache->{quicksearch_fields} = \%full_map;
return $cache->{quicksearch_fields};