Views exposed sort filters does not sort with facets

Created on 14 August 2018, almost 6 years ago
Updated 10 May 2023, about 1 year ago

Situation

Given a view with an exposed sort form to sort a search API database or solr index with facet filters.

Issue

When a selection of filters have been applied and you change the 'Sort By' option after using a facet filter, the facet filter is ignored by Views or the Facet API's query parameters are also not being sent to the server and the listings will default to show all results

Work around.

I have attached a patch the works for now. The patch also takes into consideration if you have facet pretty path module enable else it adds facets filters as hidden form fields to views exposed forms.

πŸ› Bug report
Status

Closed: works as designed

Version

9.3

Component
ViewsΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡¬πŸ‡­Ghana jnrfred

Live updates comments and jobs are added and updated live.
  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024