Bug 40832

Summary: Display MARC 382 (Medium of Performance) on result list and detail page
Product: Koha Reporter: Lari Taskula <lari.taskula>
Component: MARC Bibliographic data supportAssignee: Lari Taskula <lari.taskula>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40832: Add MARC21 field 382 Medium of Performance to detail pages
Bug 40832: Add MARC21 field 382 Medium of Performance to search results
Bug 40832: Add MARC21 field 382 Medium of Performance to detail pages
Bug 40832: Add MARC21 field 382 Medium of Performance to search results

Description Lari Taskula 2025-09-18 07:19:18 UTC
Libraries specializing in musical works consider MARC field 382 (medium of performance) important to be visible on the detail and search result views.

https://www.loc.gov/marc/bibliographic/bd382.html

This Bug aims to add support to displaying this field both on OPAC and the staff interface.
Comment 1 Lari Taskula 2025-09-18 07:32:05 UTC
This field can be quite complex with various different arrangements. We have consulted a musical library superlibrarian and while we agreed that it will be difficult to get a perfect solution, we have come up with an initial proposition on how to display this field. Details will be in the patch.
Comment 2 Lari Taskula 2025-09-18 10:23:15 UTC Comment hidden (obsolete)
Comment 3 Lari Taskula 2025-09-18 10:23:17 UTC Comment hidden (obsolete)
Comment 4 Lari Taskula 2025-09-18 10:34:55 UTC
We found Music Library Association's "Best Practices for Using LCMPT / A Manual for Use with MARC Field 382" useful. It highlights the complex scenarios this field can have.

https://cmc.wp.musiclibraryassoc.org/wp-content/uploads/sites/5/2023/03/BestPracticesforUsingLCMPT_1-5_20230301.pdf
Comment 5 Lari Taskula 2025-09-18 13:08:12 UTC
Created attachment 186556 [details] [review]
Bug 40832: Add MARC21 field 382 Medium of Performance to detail pages

To test:

1. On staff client, navigate to Cataloging
2. Click New from Z39.50/SRU
3. Using Library of Congress, search ISBN 9780758668790
4. Import record and save (no adding items required)
5. Repeat steps 1-2
6. Using Library of Congress, search LC call number 2017564102
7. Import record and save (no adding items required)
8. Open imported records in staff client
9. Observe the following details:

for ISBN: 9780758668790
"Medium of performance: children's chorus (1), piano (1) or organ (1), tambourine (1) [optional]"

for LC call number 2017564102
"Medium of performance: oboe (1) or violin (1), string orchestra"

10. Navigate to the same records in OPAC
11. Observe exactly the same details
Comment 6 Lari Taskula 2025-09-18 13:08:17 UTC
Created attachment 186557 [details] [review]
Bug 40832: Add MARC21 field 382 Medium of Performance to search results

To test:
1. On both OPAC and the staff interface, search for the records imported in
previous patch
2. Observe Medium of performance is displayed accordingly