Commit a1911aa1 authored by Pami Ketolainen's avatar Pami Ketolainen Committed by Frédéric Buclin

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

r/a=glob
parent 29a3667d
......@@ -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";
}
}
###############################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment