summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 557acec74..18b2a3107 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -3007,6 +3007,15 @@ sub _multiselect_isempty {
};
return "tag_$chart_id.id IS $not NULL";
}
+ elsif ($self->_multi_select_fields->{$field}) {
+ push @$joins, {
+ table => "bug_$field",
+ as => "bug_${field}_$chart_id",
+ from => 'bug_id',
+ to => 'bug_id',
+ };
+ return "bug_${field}_$chart_id.bug_id IS $not NULL";
+ }
}
###############################