Bug 29539: UNIMARC: authority number in $9 displays for thesaurus controlled fields...
authorGeorge Veranis <gveranis@dataly.gr>
Thu, 14 Sep 2023 06:24:07 +0000 (08:24 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 27 Jun 2024 21:55:17 +0000 (21:55 +0000)
commitdda63ffc37567b545ae08c7eb380de270dd923ea
tree915f5d4e45899e129cba7e64e7124e77117bb5dc
parent3ab750f9a692fa468f349ab9b14537e84bb821b4
Bug 29539: UNIMARC: authority number in $9 displays for thesaurus controlled fields instead of content of $a

When you try to dislpay a bibliographic record on unimarc that has subjects
linked with authorities then only the $9 is displayed as link instead of the
content of $a and it's subdivisions, if any.

To test:
1) You will need to have a bibliographic record with at least one subject
autority connected in unimarc framework.
2) View that record on OPAC on detail display. The subject will display as
a number ( $9 )  and you cannot see the text/term of the subject ( $a )
3) Apply patch
4) Repeat step 2
5) The subject display in a normal way based on content $a - or more subfields

Sponsored-by: National Library of Greece
Signed-off-by: David Nind <david@davidnind.com>
Bug 29539: (follow-up) remove tag_onesubject template

Also:
Restores the <span class="value">
Replaces "not(position()=last())" with the more used "position() != last()"
Removes unecessary change in <xsl:param name="spanclass" />

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit a7fbe80af10cee2cbe892c095be0f5689edbf1a6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl