Disable updating the facets after each facet selection for Apply/Reset facet buttons block.

Created on 22 September 2020, over 4 years ago
Updated 21 June 2024, 6 months ago

Option to disable updating the facets after each facet selection for Apply/Reset facet buttons block.

I believe the best course of action is to add a new option in the facets block configuration that allows the facet selection auto update for available facets and counts to be disabled.

Patch adds new option to Apply/Reset facet block to disable available facets and facet counts from updating. Default value for block for auto updating is feature is ON.

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇮🇳India Bharti Mehta

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.

  • 🇻🇳Vietnam phannphong Ho Chi Minh City

    I have made updates based on patch #20 to create a new patch that can be applied to version 3.0.0-beta1.

  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.0 & MySQL 5.7
    last update over 1 year ago
    Composer require failure
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update over 1 year ago
    Patch Failed to Apply
  • 🇨🇦Canada liquidcms

    Maybe someone can tell me if this is adding what i am looking for. Currently i have upgraded to Facets: 3.0.0-beta1 as we are trying to combine facets with other views exposed filters, and then use Ajax to submit.

    I have my View set up for this as well as the patch from #21. To be clear, this is a "facet views filter" showing as part of the view (as opposed to placed as a separate block - which is not yet supported for Ajax submit).

    With this i still have clicking any facet checkbox doing a page load. So it seems like both parts of this do not work:
    - don't submit on checkbox select (this patch)
    - submit using ajax (3.x)

  • This doesn't work for dropdown facets, I am not given options in the settings to 'Disable autosubmit'. Is there any reason to not include this feature for other facet widgets?

  • 🇨🇦Canada liquidcms

    This doesn't apply to 3.x-dev version of facets.

Production build 0.71.5 2024