• Resolved supernova42

    (@supernova42)


    I’m using the shortcode [pdb_list search=”true” sort=”true” list_limit=”-1″] to view my Database from the front end. One of the field names is called Status with 2 options of ‘ACTIVE’ or ‘INACTIVE’. I can select Status from the drop-down box ok and when I enter ‘INACTIVE’ in the Search box it lists all the INACTIVE records. However when I enter ACTIVE in the Search box I get a list of ACTIVE and INACTIVE records. Is there a way where I can get the Search function to search for the exact phrase in the Search box.

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

    (@xnau)

    You can get around this, but using values like this for checkboxes can present problems because of the possibility of ambiguity. You may find it easier to just set up your field with the name “Active” and then give it a simple yes,no value or even 1,0

    The Multisearch settings include a “Whole Word Match Only” option that will prevent the word “active” from matching “inactive”.

    Thread Starter supernova42

    (@supernova42)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with the Search Function’ is closed to new replies.