summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Hook.pm
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2010-08-24 23:03:20 +0200
committerTiago Mello <timello@gmail.com>2010-08-24 23:03:20 +0200
commitd94865b30a92be8a3a900f8d1d8262d36044b1ca (patch)
tree529e23fb497c5100c9e63432d6ddb7dc9e24058c /Bugzilla/Hook.pm
parent85e75aba6a7131da9d63b1f628a27e986bb428c5 (diff)
downloadbugzilla-d94865b30a92be8a3a900f8d1d8262d36044b1ca.tar.gz
bugzilla-d94865b30a92be8a3a900f8d1d8262d36044b1ca.tar.xz
Bug 583243: Add a new hook 'search_operator_field_override'.
r/a=mkanat
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r--Bugzilla/Hook.pm23
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