Title: pdb-list search changes template
Last modified: August 21, 2016

---

# pdb-list search changes template

 *  Resolved [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/)
 * 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://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/#post-4962645)
 * are these two shortcodes on the same page?
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/#post-4962650)
 * 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 [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/#post-4962671)
 * OK, what are the filenames of your custom templates?
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/#post-4962693)
 * 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 [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/#post-4962696)
 * 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](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/#post-4962706)
 * 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.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [gld](https://wordpress.org/support/users/gld/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/pdb-list-search-changes-template/#post-4962706)
 * Status: resolved