"Select MARC authority" plugin | All options are displayed in facets on Browse pane regardless of selected browse option

Description

Overview: "Select MARC authority" plugin | All options are displayed in facets on Browse pane regardless of selected browse option

Issue doesn’t reproduce in “MARC authority” app

Steps to reproduce:

  1. User has opened the "Select MARC authority" plugin by clicking on the "Link to MARC Authority record" icon from editing window of "MARC bibliographic" record.

  2. Select “Browse” tab

  3. Run browse using any browse option, ex.: “Personal name”

  4. Expand “Authority source” and “Type of heading” facets and note counters next to browse options.

  5. Run browse using any other browse option, ex.: “Corporate/Conference name"

  6. Expand “Authority source” and “Type of heading” facets and note counters next to browse options.

Expected result: Counter values noted at the steps 4 and 6 must differ, based on selected browse option (see how it works on “MARC authority” app)

Actual result: Counter values are the same for each browse option.

See attached screenshots:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

9

Checklist

hide

Activity

Show:

Valery_Pilko February 10, 2025 at 12:26 PM

Verified on https://folio-testing-sprint-fs09000000.ci.folio.org/ - fixed
See attached screenshots:

Denys Bohdan February 3, 2025 at 11:14 AM

Blocked by

Pavlo Smahin January 27, 2025 at 4:26 PM

, I understood that it’s about browsing. Yes, you could use it to request all facets.

Denys Bohdan January 27, 2025 at 11:20 AM

sorry I should have specified that this is for Browse facets.

In Search we follow the format that you provided and it works as expected like on your screenshots.

Can we also use this format when requesting facets for Browse? If yes, will this work for all facets or just for Type of heading?

Pavlo Smahin January 27, 2025 at 10:19 AM

Hey , the query you provided works as expected.
If we request some specific facet then we exclude it from filtering. It’s done to have the possibility to select other options in the facet:

I could suggest:
1. to replace headingRef>="a" or headingRef<"a" in query to (personalName all "*" or sftPersonalName all "*" or saftPersonalName all "*")
List of fields will depends to the browse option selected. There is no need to put in query actual value from input: headingRef>="a" or headingRef<"a" is same as *
2. Remove headingType==("Conference Name" or "Corporate Name") filter from query until user selected some facet option.

For example facet request for

  • Personal Name option should look like: /search/authorities/facets?facet=headingType&query=((personalName all "*" or sftPersonalName all "*" or saftPersonalName all "*") and isTitleHeadingRef==false)

  • Corporate/Conference Name option should look like: /search/authorities/facets?facet=headingType&query=((corporateName all "*" or sftCorporateName all "*" or saftCorporateName all "*" or meetingName all "*" or sftMeetingName all "*" or saftMeetingName all "*") and isTitleHeadingRef==false)

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Sunflower (R1 2025)

RCA Group

Lack of testing

Affected releases

Quesnelia (R1 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 9, 2025 at 5:03 PM
Updated February 11, 2025 at 6:05 PM
Resolved February 10, 2025 at 2:04 PM
TestRail: Cases
TestRail: Runs