Wrong amount of results shown when a dependent facet is selected

Created on 20 October 2023, 8 months ago

Problem/Motivation

I have a facet "Bundles", only one result at a time can be displayed, with the amount of results shown in their label.

For example :

( ) Bundle A (12)
( ) Bundle B (23)
( ) Bundle C (45)

I have another facet "Sub-bundles" dependent on the first one and shown only if "Bundle B" is selected

( ) Bundle A (0)
(X) Bundle B (3)
( ) Bundle C (0)

(X) Sub bundle A
( ) Sub bundle B
( ) Sub bundle C

The problem i'm facing is that Bundle A et C have 0 results shown in their label (if an item of the dependent facet is selected). Or if I reselect Bundle A, the second facet is hidden (and the amount of result for this item will be 12 again in this example).
In this case, shouldn't the total number of results be recalculated only for the item that has a dependent facet (Bundle B in this example)?

Thanks in advance for your help !

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France fwust Strasbourg

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

Comments & Activities

Production build 0.69.0 2024