CLONE - Counter values and options for "Authority source",t "Thesaurus" facet options do not change when changing search parameters

Description

Overview: Counter values and options for "Authority source", "Thesaurus" facet options do not change when changing search parameters

Preconditions: "MARC authority" records should exist in the system

Steps to Reproduce:

  1. Log into https://folio-snapshot.dev.folio.org/ as User with following permissions:

    1. MARC Authority: View MARC authority record

  2. Open "MARC authority" app

  3. Click on the multiselect element titled "Authority source" placed in expanded "Authority source" accordion button

  4. Select any option

  5. Click on the search option dropdown (placed at the "Search & filter" pane) and select "Personal name" option from the expanded dropdown

  6. Fill in the input field placed at the "Search & filter" pane with the search query, which will return zero results (e.g.: "France")

  7. Click on the "Search" button

  8. Click on the multiselect element titled "Authority source" placed in expanded "Authority source" accordion button

Expected Results: 

  • The previously selected facet option is displayed.

  • Next to the selected facet option is being displayed hit count of zero

Actual Results:

  • The previously selected facet option is displayed.

  • Next to the selected facet option is being displayed the original hit count (for all existing records in the system assigned to this source file)

Additional Information:
See attached screencast:

The same is reproducible for "Thesaurus" facet (see screencast)

Not selected options are also shown in the facet with initial counter values even when there are no corresponding records in the results list

Interested parties:

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko December 19, 2023 at 3:32 PM

Verified in the scope of

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Spitfire

Fix versions

Release

Quesnelia (R1 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 14, 2023 at 1:33 PM
Updated March 25, 2024 at 3:46 PM
Resolved December 20, 2023 at 2:03 PM
TestRail: Cases
TestRail: Runs