Skip to content

Library facet not filtered dynamically #3995

@PascalRepond

Description

@PascalRepond

Bug description:

The library facet content is not filtered by other facets selections.

Expected behavior:

When selecting a facet, e.g. "document type", the other facets should also be filtered. If I select "comic", only the libraries/locations that contain comics should be available in the library facet.

Steps to Reproduce:

  1. Go to document search and select a document type: https://ils.test.rero.ch/global/search/documents?q=*&page=1&size=10&sort=bestmatch&document_type=docmaintype_comic
  2. There are 32 document results
  3. Look at the "Library" facet. It displays all libraries/locations with full document counts
  4. For example: https://ils.test.rero.ch/global/search/documents?q=*&page=1&size=10&sort=bestmatch&document_type=docmaintype_comic&location=10 There are 2 documents in this search but the facet shows 53.

Context

This happens in all document searches (public + pro).

It is correct in the inventory list (item search). It is probably linked to this fix: #3961.

  • Versions: v1.26.0

Metadata

Metadata

Assignees

Labels

bugBreaks something but is not blockingclient requestIssue reported by production libraries

Type

No type

Projects

Status

In Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions