No option for the user to choose from interface which operator AND/OR to apply between facet elements

Created on 23 September 2019, about 5 years ago
Updated 14 March 2023, over 1 year ago

Hi,

I have to develop a project that has to include an exposed facet operator to user. From interface, user has to be able to select AND/OR operator which to apply between facet elements. I tried to develop an operator switcher that sends via url which operator to use for a specific facet.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania ramonastefan

Live updates comments and jobs are added and updated live.
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.

  • 🇦🇺Australia thtas

    Patch updated for 2.0.6

  • 🇦🇺Australia thtas

    I've made some improvements to the patch:

    1. Checkbox defaults to on if the operator in the facet is set to AND
    2. Simplify the JS to remove dependency on jquery.once and reduce complexity of url modification logic.
    3. Touch less of the filter build array when the operator is not exposed.
    4. Added label to the checkbox.

Production build 0.71.5 2024