]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Jul 2024 13:24:00 +0000 (15:24 +0200)
commit858a96bf72e73d3e3e203d5c0e251bf2729c255c
tree84da1c67626146cde4b4482f5a188178d7f0d661
parent6592816ad921e24d7902c2177f73529dd62a98df
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>
(cherry picked from commit dda63ffc37567b545ae08c7eb380de270dd923ea)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl