Filtering a basic search with a dropdown
I am not managing to filter with a dropdown.
Here is my code, my options are just single line strings with the basic EE Select Dropdown (see pic)
http://pastie.org/8913878
the url query looks like this
?channel=zoo_visitor&search:current_role=Assistant+Manager
do I need to add values to the select options? First EE project so some help would be appreciated.
Replies
Low 13 Mar 2014 11:26
- Are you getting No Results, or are you not filtering by that field?
- Is current_role a valid field in the zoo_visitor channel?
- What does your Results tag look like?
Ross Hulford 13 Mar 2014 11:33
Your 2nd question highlighted a typo sorry - I think I was too busy thinking I should be using option values.
Select your option
Assistant Manager
Many thanks.
Low 13 Mar 2014 11:35
So it's working for you now?
Ross Hulford 13 Mar 2014 11:58
yes all good thanks.