MARC authority app: Authority source/Thesaurus Facet option does not display value when zero results are returned

Description

URL: https://folio-snapshot.dev.folio.org/

Precondition: At minimum import any of the the following files listed in the last column: https://folio-org.atlassian.net/wiki/display/FOLIJET/Managing+Authority+source+files 

Issue 1

  1. Go to MARC authority app 

  2. Select Search/Browse toggle 

  3. Select at least one Authority source facet value 

  4. Enter a search/browse query that will return zero results (by using the single search box OR clicking Advanced search for search)  

  5. Hit Search 

Expected outcome: Display the selected facet value name with hit count of zero 

Actual outcome: Displays the facet value name UUID? (see screenshot 1) 

Issue 2

  1. Go to MARC authority app 

  2. Select Search toggle 

  3. Select at least one Thesaurus facet value 

  4. Enter a search query that will return zero results (by using the single search box OR clicking Advanced search)  

  5. Hit Search 

Expected outcome: Display the selected facet value name with hit count of zero 

Actual outcome: Displays the facet value name MARC value? (see screenshot 2) 

 

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

5
  • 25 Oct 2022, 08:40 AM
  • 25 Oct 2022, 07:56 AM
  • 25 Oct 2022, 07:55 AM
  • 09 Oct 2022, 02:06 PM
  • 09 Oct 2022, 02:05 PM

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko October 26, 2022 at 2:00 PM
Edited

Ready for PO review.
The issue for Orchid is created: https://folio-org.atlassian.net/browse/UIMARCAUTH-194 

Khalilah Gambrell October 26, 2022 at 12:10 PM

- lets create a story for Orchid to make Type of heading facet work the same way as all other facets.

Valery_Pilko October 25, 2022 at 8:42 AM

Verified at Snapshot environment - issue 1 and issue 2 from description are fixed.
See attached screencasts:

and

Also, I noticed that in the same scenario "Type of heading" facet option doesn't display zero in hit count when user use "Browse":
Steps to reproduce:
1. Select "Browse" toggle 
2. Select at least one "Type of heading" facet value
3. Select any "Browse option" (e.g.: "Genre")
4. Enter a browse query that will return zero results (e.g.: "Test")
5. Click on the "Search" button.
6. Check the selected "Type of heading" facet value in multiselect element titled "Type of heading".
Expected result: Display the selected facet value name with hit count of zero
Actual result: Display all facet options with hit count of all existing records.
See attached screencast:

Maybe, for consistency, we should also fix the issue described?

Hi and , what do you think about the issue described? 

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Nolana (R3 2022)

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 9, 2022 at 2:07 PM
Updated December 14, 2023 at 1:33 PM
Resolved October 31, 2022 at 1:13 PM
TestRail: Cases
TestRail: Runs