if you set relevancy as enabled in admin/config/search/search_api/index/nodes_module_index/sorts page, you will not find relevancy sort item in admin/config/search/search_api/index/nodes_module_index/sorts_widget page.
So in the frontoffice, you will see Relevancy(ASC) ant Relevancy(DESC) and it's not possible to disabled one.

So I add a patch :

Comments

olivier.guyonnet created an issue. See original summary.

xaqrox’s picture

Same patch, edited to name files relative to the project directory (so it works with drush-patchfile).

interdruper’s picture

Status: Active » Reviewed & tested by the community

Patch works fine. Clearly useful if you use relevance as a sort criteria.

lukus’s picture

Hi

This looks really useful, could it be committed?

Thanks

Luke

neograph734’s picture

I confirm this works as well. It would be nice to see this as part of the main module.

pianomansam’s picture

I can also confirm this is working.

BarisW’s picture

Thanks, patch works great!

cosolom’s picture

Status: Reviewed & tested by the community » Fixed

Thanks all. Commited

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.