• Resolved gld

    (@gld)


    Hi Roland, I’m having trouble with shortcode operands in the filter. My syntax is as follows:

    [pdb_list template=”directory” filter=”record_status=Active or record_status=Non-Member” fields=”first_name,last_name,list_phone,phone,list_email,email,spouse_first_name,spouse_last_name,spouse_email,street” orderby=”last_name” sort=”true” order=”asc” search=”true”]

    I want all records that have a value for record_status of ‘Active’ or of ‘Non-Member’

    https://www.ads-software.com/plugins/participants-database/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gld

    (@gld)

    with the syntax (above) I end up seeing all records (i.e. I assume the filter is failing or the syntax is incorrect. Can you advise what I should be doing?

    Thanks
    Greg

    Plugin Author xnau webdesign

    (@xnau)

    You should use a “pipe” | instead of “or” to join your statements.

    Take a look at the “Other Notes” page under “Filtering which Records Get Shown with the List Shortcode” for the details.

    Thread Starter gld

    (@gld)

    Dah. I also tried 2 pipes and was searching for the details but there it is in Other Notes. Thanks Roland!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Filter Syntax’ is closed to new replies.