Linked bib field controlled subfield box should honor controlled MARC authority subfield order (manual linking support)

Description

Issue 1: When linking to an authority heading that has more than one of the same subfield separated by a different subfield, the quickmarc display groups the subfields by letter. For example, “$a Japan $x History $y Gempei Wars, 1180-1185 $x Literature and the war” becomes “$a Japan $x History $x Literature and the war $y Gempei Wars, 1180-1185”. The underlying authority record is unaffected.

Steps to reproduce:

  1. Login to Poppy Bugfest as user folio

  2. Go to Inventory

  3. Go to instance in218033 OR in9122169

  4. Edit marc bibliographic record

  5. Look at field 651 - $a Paraguay $x History $y War of Independence, 1810-1811 $x Campaigns OR $a United States $x History $y Civil War, 1861-1865 $x Foreign public opinion

  6. Click the link button and select the correct heading, and link

  7. Look at the same field - the fields are now in a different order.

Expected result: The subfields will display in the marc bib record in the same order as in the authority record. See example 3 on this page for expected results - https://folio-org.atlassian.net/wiki/spaces/FOLIJET/pages/545030161/Authority+Linking+Use+Cases

Actual result: The subfields in the marc bib record re-order upon linking to group similar subfields together

 

Issue 2: When linking to an authority heading the controlled fields do not display in the order as the authority heading. For example

  • Authority heading 150 is $a Globalization $x Economic aspects $z Belgium $z Brussels $v Congresses

  • When a 650 bib field is controlled by that field, the controlled subfield box displays as 650 $a Globalization $v Congresses $x Economic aspects $z Belgium $z Brussels

Expected result: The subfields will display in the marc bib record in the same order as in the authority record = $a Globalization $x Economic aspects $z Belgium $z Brussels $v Congresses

Additional Verification

  • Also confirm that these requirements updates are reflected when user is updating linked authority record via data import and quickMARC UI.

Testing examples

Additional examples

Uncontrolled bib field

Authority heading

Controlled bib field

651 $a United States $x Politics and government $y 1783-1789 $x Sources $v Indexes

151 $a United States $x Politics and government $y 1783-1789 $x Sources $v Indexes

Controlled subfield box 1: $a United States $x Politics and government $y 1783-1789 $x Sources $v Indexes

Uncontrolled subfield box 1: blank

Controlled subfield box 2: $0 value

Uncontrolled subfield box 2: blank

651 $a United States $x Relations $z Belgium $x Archival resources

151 $a United States $x Relations $z Belgium $x Archival resources

Controlled subfield box 1: $a United States $x Relations $z Belgium $x Archival resources

Uncontrolled subfield box 1: blank

Controlled subfield box 2: $0 value

Uncontrolled subfield box 2: blank

651 $a United States $x Relations $z Portugal $x Societies, etc. $v Congresses

151 United States $x Relations $z Portugal $x Societies, etc. $v Congresses

Controlled subfield box 1: $a United States $x Relations $z Portugal $x Societies, etc. $v Congresses

Uncontrolled subfield box 1: blank

Controlled subfield box 2: $0 value

Uncontrolled subfield box 2: blank

650 Globalization $x Economic aspects $z Belgium $z Brussels $v Congresses

150 Globalization $x Economic aspects $z Belgium $z Brussels $v Congresses

Controlled subfield box 1: $a Globalization $x Economic aspects $z Belgium $z Brussels $v Congresses

Uncontrolled subfield box 1: blank

Controlled subfield box 2: $0 value

Uncontrolled subfield box 2: blank

650 #0 $a Globalization $x Economic aspects $z Europe $x History $y 20th century

150 $a Globalization $x Economic aspects $z Europe $x History $y 20th century

Controlled subfield box 1: $a Globalization $x Economic aspects $z Europe $x History $y 20th century

Uncontrolled subfield box 1: blank

Controlled subfield box 2: $0 value

Uncontrolled subfield box 2: blank

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

10

Checklist

hide

Activity

Show:

Natalia Zaitseva November 25, 2024 at 1:36 PM

Hey , you are right; this ticket was released in the main Ramsons release

Valery_Pilko November 24, 2024 at 11:23 AM

Hey - scenario described in this ticket was verified on Ramsons Bugfest envs in the scope of Verified in the scope of
I believe It was release and deployed in the scope of . Could you please verify and close this ticket if so?

Khalilah Gambrell November 2, 2024 at 2:03 PM

Will not verify this story until works with saving record.

Valery_Pilko November 1, 2024 at 10:05 AM

Verified on Snapshot environment (only manual linking part, without saving of the record) - works as expected for controlled and not controlled subfields.
See attached screencast:

Further testing will be done in the scope of Back-end ticket :

  • manual linking + saving

  • automated linking + saving

  • update of linked MARC authority record (from UI and Data import)

  • update of linked MARC bib record (from UI and Data import)

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Ramsons (R2 2024)

RCA Group

Requirements change

Affected releases

Quesnelia (R1 2024)
Poppy (R2 2023)

Affected Institution

OTHER

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 24, 2024 at 1:06 PM
Updated November 25, 2024 at 1:36 PM
Resolved November 21, 2024 at 4:08 PM
TestRail: Cases
TestRail: Runs