Bug 901589: The 'isempty' operator does not work for custom multiselect fields

r/a=glob


git-svn-id: svn://10.0.0.236/trunk@264995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org
2013-09-03 10:31:35 +00:00
parent 16654bc0e5
commit bbce5d90c0
2 changed files with 10 additions and 1 deletions

View File

@@ -1 +1 @@
8725
8726

View File

@@ -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";
}
}
###############################