WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
[resolved] Search Bug? (4 posts)

  1. harleyquinn
    Member
    Posted 10 months ago #

    I am running into a problem with the search feature. In order to get accurate search results I always have to pick a field in the drop down. If I just leave 'show all' and enter a term into the search field, it returns all the records from the database which is not what I expect to see as a user. It's only when a field from the drop down is chosen that the search filters the results. Is this how the search is supposed to work - in other words, do you always have to pick something from the drop down? This just seems so not user-friendly. Why do we need the drop down at all?

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 10 months ago #

    You bring up a good point. I see that it could be misunderstood, but by "show all" I meant "show all the records." I generally like the idea that less controls is better, but in this case, it's necessary to choose which field to search in because it is not a general search of the database.

    The search form included in the plugin was never meant to be full-featured, I expect people who have specific search needs to create their own search controls, and many have done so.

    I do appreciate feedback from a user-friendliness perspective, it's very important to me, even if the plugin isn't currently fully developed in that regard.

  3. Mary Ahern
    Member
    Posted 10 months ago #

    I share the same opinion with harleyquinn that the "show all" is not intuitive or user-friendly. I expected the search feature to be more robust.

    You mentioned that others have created their own search controls. Could you point me in the right direction in coming up with a solution to this limitation? Is there an app I can add or is it PHP coding?

    BTW: I admire tremendously your work on creating this plugin and also appreciate your involvement in supporting your product!
    ...mary

  4. xnau
    Member
    Plugin Author

    Posted 10 months ago #

    I understand the search function is very simple and is certainly not adequate for my applications. It has always been my plan to improve it, but that is on the horizon. The current state of things is that creating a more sophisticated search function is really only possible for an experienced programmer familiar with the use of WordPress hooks.

    The approach I have been suggesting to people is using the do_shortcode function in a WP template, which allows you to build a filter statement into the shortcode based on the values submitted in a form.

    The upcoming release will provide much better and easier ways to create a custom search, but it will still be a matter of coding your own. That release is still several weeks away.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.