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