diff options
author | Tiago Mello <timello@gmail.com> | 2010-08-24 18:03:20 -0300 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2010-08-24 18:03:20 -0300 |
commit | d94865b30a92be8a3a900f8d1d8262d36044b1ca (patch) | |
tree | 529e23fb497c5100c9e63432d6ddb7dc9e24058c /Bugzilla/Hook.pm | |
parent | Bug 586871: Convert all Bugzilla->get_fields calls to Bugzilla->fields (diff) | |
download | bugzilla-d94865b30a92be8a3a900f8d1d8262d36044b1ca.tar.gz bugzilla-d94865b30a92be8a3a900f8d1d8262d36044b1ca.tar.bz2 bugzilla-d94865b30a92be8a3a900f8d1d8262d36044b1ca.zip |
Bug 583243: Add a new hook 'search_operator_field_override'.
r/a=mkanat
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r-- | Bugzilla/Hook.pm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index e00289344..789ad8740 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -433,6 +433,29 @@ The definition is structured as: =back +=head2 search_operator_field_override + +This allows you to modify L<Bugzilla::Search/OPERATOR_FIELD_OVERRIDE>, +which determines the search functions for fields. It allows you to specify +custom search functionality for certain fields. + +See L<Bugzilla::Search/OPERATOR_FIELD_OVERRIDE> for reference and see +the code in the example extension. + +Note that the interface to this hook is B<UNSTABLE> and it may change in the +future. + +Params: + +=over + +=item C<operators> - See L<Bugzilla::Search/OPERATOR_FIELD_OVERRIDE> to get +an idea of the structure. + +=item C<search> - The L<Bugzilla::Search> object. + +=back + =head2 bugmail_recipients This allows you to modify the list of users who are going to be receiving |