summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index f51a12372..bb94cad47 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -1668,7 +1668,11 @@ sub _params_to_data_structure {
# And then process the modern "custom search" format.
$clause->add( $self->_custom_search );
-
+
+ # BMO - allow post-processing of search clauses
+ Bugzilla::Hook::process('search_clause_structure',
+ { search => $self, clause => $clause });
+
return $clause;
}