Search not working – returns entire database
-
There’s something wrong with the search function on my site. Regardless what field I choose in the dropdown and what I type in the search box, the search returns the entire database. I don’t know if I’ve messed something up – I’ve made a few modifications to the pdb-list-default.php template (using a custom template in my child theme), but I can’t see it’s something that should affect this.
The page only contains the shortcode[pdb_list search=true]
, and I remember it working earlier, so I don’t know what could have happened.Also, I noticed that in the pdb-list-detailed.php template, it says that the text on the search and clear buttons can be changed with this code:
$values = array( 'submit' => 'Search Records', 'clear' => 'Clear the Search Parameters' );
, but I can’t figure out excactly where to place that code. I’m currently using jQuery to change the text on those buttons, but I’d prefer if I could do it in the template, if you could point out to me where the code goes.
- The topic ‘Search not working – returns entire database’ is closed to new replies.