Page 1 of 1

Filter results from a multi-select field

PostPosted: Wed Mar 07, 2012 6:33 am
by hhkilis
Hi,

When I use filtering on a multi-select field, records containing multiple values in the field cannot be filtered as wished. When a single value exists on the field, then I see it properly displayed in filter results. However, if there are multiple values existing on the field, then I see ID's of these values rather than their display titles in filter results.


fields.ini

[fieldX]
widget:type=select
repeat=1
vocabulary=vocabularyX
filter=1

valuelists.ini

[vocabularyX]
__sql__="select id, name from fieldX order by name"


How can I fix it?

Re: Filter results from a multi-select field

PostPosted: Wed Mar 07, 2012 10:29 am
by shannah
The current implementation of the filters may stumble on multi-select fields. I don't think there is a simple fix for this currently.