Date range - honour dependent facets

Created on 6 February 2023, over 1 year ago
Updated 15 March 2023, over 1 year ago

Problem/Motivation

The Date range facet does not go away when the dependent processor's conditions are not met.

Steps to reproduce

- two facets, "parent" and "dependent"
- set the "dependent" to appear on a certain value of the "parent"
- go to the view page (or whatever page uses the index)
- you should not see the dependent date range facet, but you do.

Proposed resolution

Add a check in the widget itself to check to processors again, this is done by the DefaultFacetManager BUT, that only empties the results, which is not compatible with our Date Range widget, so we need to re-check and use a bool as result.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania Andras_Szilagyi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024