Bug 40621

Summary: Show MARC21 767 translation entry
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: MARC Bibliographic data supportAssignee: Aleisha Amohia <aleisha>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: Sponsored
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 29185    
Bug Blocks:    
Attachments: Bug 40621: Show MARC21 767 translation entry in OPAC and staff detail XSLT

Description Aleisha Amohia 2025-08-08 00:44:49 UTC

    
Comment 1 Aleisha Amohia 2025-08-08 03:45:35 UTC
Created attachment 185256 [details] [review]
Bug 40621: Show MARC21 767 translation entry in OPAC and staff detail XSLT

Test plan:

1. Go to Koha Administration -> MARC bibliographic frameworks. Using the Default framework, view MARC subfields for the 767 tag and ensure that $a, $d, $t, and $w are visible in the staff interface, OPAC, and editor.
2. Go to system preferences and search for UseControlNumber. Ensure it is disabled.
3. In another tab, search for a record using the Default framework or create a new one. Go to edit the record.
4. Add a 767 with $t, $a, and $d. Put (orgcode)cnum value into $w. Put orgcode in 003 and cnum in 001.
5. View the staff interface detail page. Confirm you see "Translated as:" with your 767 values as a clickable link that is title-based only.
6. Enable UseControlNumber.
7. Repeat Step 5. Confirm you see "Translated as:" with your 767 values as a clickable link that is uses the orgcode and cnum.
8. Edit the record and set $w to the cnum only.
9. Repeat Step 5. Confirm you see "Translated as:" with your 767 values as a clickable link that uses the cnum only.
10. Click to open the record in the OPAC view and confirm the 767 shows as expected.

Sponsored-by: Secretariat of the Pacific Community