[Koha-bugs] [Bug 29539] UNIMARC: authority number in $9 displays for thesaurus controlled fields instead of content of $a

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 22 23:45:47 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29539

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This fixes the display of
      release notes|                            |authority terms in the OPAC
                   |                            |for UNIMARC systems. The
                   |                            |authority record number was
                   |                            |displaying instead of the
                   |                            |term, depending on the
                   |                            |order of the $9 and $a
                   |                            |subfields (example for a
                   |                            |606 entry: if $a then $9,
                   |                            |the authority number was
                   |                            |displayed; if $9 then $a,
                   |                            |the authority term was
                   |                            |displayed).

--- Comment #16 from David Nind <david at davidnind.com> ---
Thanks Andreas for the steps on how to reproduce the issue!

I have now tested and signed off using KTD (koha-testing-docker).

Updated test plan:
1. KTD startup: edit your .env file and change KOHA_MARC_FLAVOUR=unimarc
2. Start up KTD as normal: ktd pull and ktd up
3. Edit any record so that it has two 606 entries - NOTE: The order displayed
in the editor is important:
   - For record 560 ([Le ]Jardin des Henderson : roman [LIVR] / Hermary-Vieille
Catherine), remove the existing values in the 606 field
   - Add these values:
     606 _a écosystèmes
         _9 6410
     606 _9 6410
         _a écosystèmes
   NOTE: The sample data for UNIMARC records is very incomplete - you will need
to:
         1. Add data for the mandatory fields before you can save the record.
         2. Update the item(s) for the record so that any values with dropdown
lists have valid values (otherwise you will have errors in the OPAC when you
try to view the record).
4. View the record in the OPAC and staff interface:
   - OPAC: Subject - Topical Name: 6410 | écosystèmes 
   - Staff interface: Subject - Topical Name: écosystèmes | écosystèmes 
5. Apply the patch.
6. Restart everything.
7. View the record again in the OPAC and staff interface
   - OPAC: Subject - Topical Name: écosystèmes | écosystèmes
   - Staff interface: Subject - Topical Name: écosystèmes | écosystèmes
8. Experiment with changing the order and adding new terms - these should now
display correctly, irrespective of the $a and $9 order in the record.
9. Sign off.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list