• Resolved gld

    (@gld)


    Hi Roland, getting some strange behavior with the search. Here is the short code I am using:

    [pdb_list template=”current” filter=”record_status=Active” fields=”id,first_name,last_name,street,phone,email,organization_role” orderby=”last_name” order=”asc” search=”true”]”;

    However the template it appears to be acting upon (including filter) is this one which is not even referenced on the same page:

    [pdb_list template=”org” filter=”committee_role=Social-Committee&record_status=Active” fields=”first_name,last_name,phone,email”]

    Why would the search be conducted and results be returned for a template not even referenced especially when that template never has a search applied to it?

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

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

    (@xnau)

    are these two shortcodes on the same page?

    Thread Starter gld

    (@gld)

    That’s what’s so weird, they are not on the same page!! Completely different, unrelated pages. So odd also that the search is done not just against that template, but against that template with the filter on!

    Plugin Author xnau webdesign

    (@xnau)

    OK, what are the filenames of your custom templates?

    Thread Starter gld

    (@gld)

    pdb-list-current.php is the one I want it to use. pdb-list-org.php is the one it seems to default to. If I rename pdb-list-org.php to something else, then it doesn’t use it but it does use something else with the same fields listed.

    Plugin Author xnau webdesign

    (@xnau)

    OK, I see the problem, looks like a bug. For now, you will have to turn off “AJAX Searching” in the plugin settings under the “Advanced” tab.

    Thread Starter gld

    (@gld)

    Thanks Roland. Ok, it is working perfectly now. I don’t need to search the ajax login so its perfect.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘pdb-list search changes template’ is closed to new replies.