From a7fbe80af10cee2cbe892c095be0f5689edbf1a6 Mon Sep 17 00:00:00 2001 From: George Veranis Date: Thu, 14 Sep 2023 08:24:07 +0200 Subject: [PATCH] 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 Bug 29539: (follow-up) remove tag_onesubject template Also: Restores the Replaces "not(position()=last())" with the more used "position() != last()" Removes unecessary change in Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- .../bootstrap/en/xslt/UNIMARCslimUtils.xsl | 107 ++++-------------- 1 file changed, 22 insertions(+), 85 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl index d30304b150..25874e25f8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl @@ -374,89 +374,6 @@ - - - - - - - - - - - - , - - - - - - - - - - 1000 - - - - - - - - , - - - - - - /cgi-bin/koha/opac-search.pl?q=an: - - - - - - - - - - - - - - - - - - -- - - - - - - - - /cgi-bin/koha/opac-search.pl?q=su: - - - - - - abcdfijkmnptvxyz - ijknpxyz - -- - - - - - - - - - | - - - @@ -469,8 +386,28 @@ - - + + + + /cgi-bin/koha/opac-search.pl?q=an: + + + /cgi-bin/koha/opac-search.pl?q=su: + + + + + + abcdjptvxyz + jpxyz + -- + + + + + + | + -- 2.20.1