summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-11-22 15:25:07 +0100
committerByron Jones <bjones@mozilla.com>2012-11-22 15:25:07 +0100
commited17a711ebddc980f89e8290632f566c37bf762f (patch)
tree19491f770ce31dd1416e481f4c4c30a7ffd39841 /Bugzilla/Search
parent468c576588450202d96998d2378949e08406361e (diff)
downloadbugzilla-ed17a711ebddc980f89e8290632f566c37bf762f.tar.gz
bugzilla-ed17a711ebddc980f89e8290632f566c37bf762f.tar.xz
Bug 780820: Allows for multiple custom search criteria to match one field
Diffstat (limited to 'Bugzilla/Search')
-rw-r--r--Bugzilla/Search/Clause.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/Bugzilla/Search/Clause.pm b/Bugzilla/Search/Clause.pm
index a068ce5ed..38f6f30be 100644
--- a/Bugzilla/Search/Clause.pm
+++ b/Bugzilla/Search/Clause.pm
@@ -42,6 +42,11 @@ sub children {
return $self->{children};
}
+sub update_search_args {
+ my ($self, $search_args) = @_;
+ # abstract
+}
+
sub joiner { return $_[0]->{joiner} }
sub has_translated_conditions {
@@ -83,7 +88,7 @@ sub walk_conditions {
my ($self, $callback) = @_;
foreach my $child (@{ $self->children }) {
if ($child->isa('Bugzilla::Search::Condition')) {
- $callback->($child);
+ $callback->($self, $child);
}
else {
$child->walk_conditions($callback);