Bug 37120

Summary: Add heading subfields for 647 (MARC21)
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: MARC Bibliographic data supportAssignee: Caroline Cyr La Rose <caroline.cyr-la-rose>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lucas
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
This enhancement updates the default MARC21 bibliographic framework to add subfields a, c, d, and g to field 647. NOTE: This does not affect existing installations. If you are upgrading and wish to have the subfields in your bibliographic framework, add them via Administration > MARC bibliographic framework.
Version(s) released in:
24.11.00
Circulation function:
Attachments: Bug 37120: Add heading subfields for 647 (MARC21)
Bug 37120: Add heading subfields for 647 (MARC21)

Description Caroline Cyr La Rose 2024-06-18 19:43:12 UTC
While working on MARC21 Update 38 (bug 37114), I noticed the main subfields of 647 were not in the default framework.

Currently, 647 contains
- 0
- 1
- 2
- 3
- 6
- 8
- v
- x
- y
- z

The field documentation https://www.loc.gov/marc/bibliographic/bd647.html also has 
- a
- c
- d
- g

(not counting $4 and $e which are added in bug 37114)
Comment 1 Caroline Cyr La Rose 2024-06-18 20:04:47 UTC
Created attachment 167871 [details] [review]
Bug 37120: Add heading subfields for 647 (MARC21)

This patch updates the default MARC21 bibliographic framework to add missing
subfields to field 647.

To test:
1. Apply patch and reset_all
2. Go to Administration > MARC bibliographic framework
3. Click Actions next to the default framework and choose MARC structure
4. Search for field 647
5. Click Actions > View subfields (or Edit subfields)
6. Check that subfields match the documentation
   https://www.loc.gov/marc/bibliographic/bd647.html
   (note that subfields $4 and $e are added in bug 37114)

Added subfields are:
- a - Named event (NR)
- c - Location of named event (R)
- d - Date of named event (NR)
- g - Miscellaneous information (R)

7. Optional: run the framework test in Administration > MARC bibliographic
   framework test
   --> All should be OK
Comment 2 Phil Ringnalda 2024-06-19 18:05:27 UTC
Created attachment 167886 [details] [review]
Bug 37120: Add heading subfields for 647 (MARC21)

This patch updates the default MARC21 bibliographic framework to add missing
subfields to field 647.

To test:
1. Apply patch and reset_all
2. Go to Administration > MARC bibliographic framework
3. Click Actions next to the default framework and choose MARC structure
4. Search for field 647
5. Click Actions > View subfields (or Edit subfields)
6. Check that subfields match the documentation
   https://www.loc.gov/marc/bibliographic/bd647.html
   (note that subfields $4 and $e are added in bug 37114)

Added subfields are:
- a - Named event (NR)
- c - Location of named event (R)
- d - Date of named event (NR)
- g - Miscellaneous information (R)

7. Optional: run the framework test in Administration > MARC bibliographic
   framework test
   --> All should be OK

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Comment 3 Katrin Fischer 2024-07-02 08:16:40 UTC
Taking this out of QA queue to push to main.
Comment 4 Katrin Fischer 2024-07-02 08:21:28 UTC
Pushed for 24.11!

Well done everyone, thank you!