Skip to content

Facets that are not open by default are not refreshing when updating other facets #4177

Description

@PascalRepond

Bug description:

In the document search views, when I select a value, the other facets are supposed to update their content in consequence, but only the ones that are open by default are correctly updated.

Moreover, if I select a facet (subject or author), the facet itself is refreshed in order to only show values that exist in the current selection. However, when I deselect the value, the facet is not refreshed and keeps its values as when it was selected.

Expected behavior:

  • Selecting a value in a facet should update the content of all the other facets.
  • Deselecting a value in the AND facets should refresh them.

Steps to Reproduce:

  1. Make a "*" search in the documents and open multiple facets (subjet, author, library, etc)
  2. Select a value in a facet that has few documents
  3. See that the other open facets are not updated

  1. Make a "*" search in the documents and select a value in the "subject" facet
  2. See that the facet content is updated
  3. Deselect the value
  4. See that the facet content is not updated

Context

  • Versions: v1.29.0

Metadata

Metadata

Assignees

Labels

bugBreaks something but is not blocking

Type

No type

Projects

Status
Ready to test

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions