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:
@@ -1 +1 @@
|
||||
8725
|
||||
8726
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
###############################
|
||||
|
||||
Reference in New Issue
Block a user