I am trying to setup a membership directory that can be searched by category or business name and the resulting list should be sorted by business name.
Here is the code I am using:
[pdb_list order=”asc” orderby=”business_name” search=”true” filter=”id=0″ fields=”business_name, business_phone, primary_contact” list_limit=”5″]
When I perform a search the results are the same. The first 5 entries in the database, everytime.
I think this plugin is fantastic. It has helped me resolve many problems but this is one that has me stumped and as I am not a strong PHP user it makes it difficult for me to understand how to create a custom template if that is what I need to do.
This is the page where the search is located.
- The topic ‘Search and sort’ is closed to new replies.