WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
[resolved] Relevanssi plugin breaking author parameter? (11 posts)

  1. Marventus
    Member
    Posted 2 years ago #

    Hello everybody,

    I am developing a law blog for law students on a WP 3.2.1 installation. I have a search form with a toggable advanced search feature that allows users to search by category, tag, and/or author. I'm using wp_dropdown_categories() for the first two, and wp_dropdown_users for authors. To avoid parameter overriding between cats and tags, I'm leaving cat as the default name attribute for categories and using tag for tags. For authors, I'm using author, as this is already in use by WP.

    The feature works great when Relevanssi 2.9.11 is deactivated, but when it is activated, the author parameter stops working, and I get the same search results for all values (0, -1, or any other one). The other parameters work well both alone and in combination, except when a parameter is set for author, of course.

    I really like the plugin because it expands the reach of the default WP search tool, but I need this feature to work, so if anyone has any idea as to how to solve this, please let me know.

    To finish, here are some of my Relevanssi options that might be relevant:
    Default operator for search?: AND;
    Default order for results: Relevance;
    Exclusions and/or Restrictions: None;
    Create custom search result snippets: Checked;

    Thanks in advance!

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 2 years ago #

    Relevanssi doesn't support searching by author; it has never crossed my mind that it would be necessary and apparently nobody has tried it before, as you're the first one to even mention it.

    Clearly an oversight from me, I'll fix this in the next version.

  3. Marventus
    Member
    Posted 2 years ago #

    Hi msaari,

    Thank you very much for your very prompt reply.
    In all honesty, I worked on different WP sites and this is the first time it ever occurred to me to search by author, so it's really Ok. On the other hand, I think it could be a nice added plus to the plugin and, also, very useful for sites with multiple authors.
    Thank you for considering fixing this. I think that the fact that WP already has this functionality should make things easier for you.
    Cheers!

  4. Mikko Saari
    Member
    Plugin Author

    Posted 2 years ago #

    I wrote the code already, as soon as I get the next version wrapped up it'll work. Couple of days, maybe.

  5. Marventus
    Member
    Posted 2 years ago #

    That is great news, msaari. Thank you for the awesome support.
    I'll stay alert for the next release, ;-)

  6. Marventus
    Member
    Posted 2 years ago #

    Hi Msaari,

    Any news about that update?

    Thanks!

  7. Mikko Saari
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry, I've been incredibly busy with other stuff. Can't promise anything right now, I'm drowning in work at the moment.

  8. Marventus
    Member
    Posted 2 years ago #

    Ok, don't worry about it. Thanks for the update, :-)

  9. Mikko Saari
    Member
    Plugin Author

    Posted 2 years ago #

    Just released 2.9.12, which will fix this.

  10. Marventus
    Member
    Posted 2 years ago #

    Thanks a lot for this.
    I'll run some tests and let you know.

  11. Marventus
    Member
    Posted 2 years ago #

    I just tested this and it's working flawlessly.
    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic