backdrop-contrib / search_api

Provides a generic API for modules offering search capabilities
GNU General Public License v2.0
0 stars 5 forks source link

Search relevance field #35

Closed keiserjb closed 1 year ago

keiserjb commented 2 years ago

I tried to add a field for search relevance and the handler was always broken in the view.

Line 102 of search_api_views.views.inc needs to be $table['search_api_relevance']['field']['handler'] = 'entity_plus_views_handler_field_numeric'; Then it works.

earlyburg commented 1 year ago

I will have a look at this tomorrow. Thanks for pointing this out.

herbdool commented 1 year ago

@earlyburg created PR https://github.com/backdrop-contrib/search_api/pull/39

argiepiano commented 1 year ago

This fix LGTM. Ready to be committed.

argiepiano commented 1 year ago

Hi @herbdool. Since your PR is from Dec, I can go ahead and merge this as a bug squad task, since @earlyburg has not responded. LMK