I have a channel that displays artist information and they have an option to list their top three disciplines. Each discipline is listed in a separate field.
For example an artist could indicate the following disciplines:
- Photography
- Painting
- Pottery
Related to this I have a page for each discipline to show the artists which have selected that discipline. Currently I have it set to filter entries as follows:
search:first_discipline="photography"
The only problem here is that it doesn't show those artists that may have selected photography as their second or third discipline.
I tried combining multiple fields in the search parameter like this:
search:first_discipline|second_discipline|third_discipline="photography"
That appears to cancel out the filtering and brings back all entries. Is there a way to search all three fields?
Thanks!
search
, you should create just one field with three options. For me, to use three fields with the same info is clumsy. Did you try to use the channel form with three checkboxes?{categories}<input name="category[]" value="{category_id}"{if selected}checked="checked"{/if}>{category_name}{/categories}
? I'm sorry, but I can't test this now.