Bug 40621 - Show MARC21 767 translation entry
Summary: Show MARC21 767 translation entry
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic data support (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Aleisha Amohia
QA Contact: Testopia
URL:
Keywords:
Depends on: 29185
Blocks:
  Show dependency treegraph
 
Reported: 2025-08-08 00:44 UTC by Aleisha Amohia
Modified: 2025-08-08 03:45 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: Sponsored
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40621: Show MARC21 767 translation entry in OPAC and staff detail XSLT (6.19 KB, patch)
2025-08-08 03:45 UTC, Aleisha Amohia
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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