MARC authority app: Authority source/Thesaurus Facet option does not display value when zero results are returned
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
- 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
is cloned by
relates to
Checklist
hideTestRail: Results
Activity

Valery_Pilko October 26, 2022 at 2:00 PMEdited
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
@Valery_Pilko - 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 @Khalilah Gambrell and @Denys Bohdan , what do you think about the issue described?
Details
Details
Assignee

Reporter

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
Go to MARC authority app
Select Search/Browse toggle
Select at least one Authority source facet value
Enter a search/browse query that will return zero results (by using the single search box OR clicking Advanced search for search)
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
Go to MARC authority app
Select Search toggle
Select at least one Thesaurus facet value
Enter a search query that will return zero results (by using the single search box OR clicking Advanced search)
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)