All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Filtering a basic search with a dropdown

Ross Hulford 13 Mar 2014 11:16 question, complete

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

  1. 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?

  2. 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.

  3. Low 13 Mar 2014 11:35

    So it's working for you now?

  4. Ross Hulford 13 Mar 2014 11:58

    yes all good thanks.