Support » Plugin: Participants Database » List Filter Help. ???

  • Hi Roland,
    I hope all is well with you.
    I’m using the following shortcode at https://www.sohophoto.com/exhibition-list/

    [pdb_list template=multisearch search_fields=”artist_last, opening_date” orderby=opening_date,id order=desc,desc fields=”artist_fullname, show_title_with_link, opening_date, artsylink” filter=”category=Exhibition|category=Group Show” ]

    Currently the “category” field is a Radio Button Element.  I would like to change that to a Multi-Select Checkbox, so that more than one category can be selected for a particular record.

    When I make that change in the DB, the shortcode filter fails and the page returns ZERO results.  When I revert the field to a Radio Button, it works.  Which is the current state.

    How can I fix that, so that I can have a field with two or more selections that still filter on the selected categories for a particular list?  

    Please Let me know … 
    THANKS!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You cannot use “=” with a multi-select type. The field data is represented by an array because there can be multiple selections, so you need to do a substring match. Use a filter like this instead:

    filter=”category~Exhibition|category~Group Show”

    Thread Starter DavidK

    (@davidk)

    As always — THANK YOU for the rapid reply. I understand and will give it a spin … and revert only when I get jammed up again.
    David.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.