Filter results from a multi-select field

A place for users and developers of the Xataface to discuss and receive support.

Filter results from a multi-select field

Postby hhkilis » Wed Mar 07, 2012 6:33 am

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?
hhkilis
 
Posts: 15
Joined: Mon Feb 27, 2012 5:49 am

Re: Filter results from a multi-select field

Postby shannah » Wed Mar 07, 2012 10:29 am

The current implementation of the filters may stumble on multi-select fields. I don't think there is a simple fix for this currently.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 19 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved