Counter values and options for "Authority source", "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:

CSP Request Details

CSP Details: Describe issue impact on business - Issue prevents users from navigating and faceting MARC authority search results by not displaying accurate counter values. What institutions are affected? (field “Affected Institutions” in Jira to be populated) - All institutions What is the workaround if exists? No workaround What areas will be impacted by fix (i.e. what areas need to be retested) MARC authority app, Find instance plugin. Brief explanation of technical implementation and the level of effort (in workdays) and technical risk (low/medium/high). Both level of effort and technical risk are low. Development work is already complete. Brief explanation of testing required and level of effort (in workdays). Provide test plan agreed with by QA Manager and PO. Test cases already exist and level of effort is 30 minutes. What is the roll back plan in case the fix does not work? Revert to previous version. Requested approval via Slack 2/27/24

CSP Rejection Details

None

Potential Workaround

None

Attachments

3
  • 19 Dec 2023, 02:27 PM
  • 19 Dec 2023, 02:27 PM
  • 12 Dec 2023, 07:42 AM

Checklist

hide

TestRail: Results

Activity

Show:

Polina Ustimenko March 1, 2024 at 3:03 PM

Verified in scope of CSP#2 on https://bugfest-poppy.int.aws.folio.org/

Works as expected, please note that additional work is required in scope of https://folio-org.atlassian.net/browse/UIMARCAUTH-194 (not fixed yet)

could you please review? Thank you

Valery_Pilko December 21, 2023 at 9:10 AM

FYI: "Shared" facet also was affected by this issue. It was fixed for Q, but still reproduces on Poppy ECS.
See example on college tenant - https://bugfest-poppy-consortium.int.aws.folio.org/marc-authorities?query=C404421%20MARC%20authority&segment=search 
cc:  

Polina Ustimenko December 19, 2023 at 2:30 PM

Tested on https://folio-snapshot.dev.folio.org/

Works as expected, please check the attached screencasts:

Flagged
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023) Service Patch #2

RCA Group

Legitimate regression

CSP Approved

Yes

Affected releases

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created December 12, 2023 at 7:42 AM
Updated August 28, 2024 at 9:42 AM
Resolved February 28, 2024 at 1:26 PM
TestRail: Cases
TestRail: Runs

Flag notifications