[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.09-27-g76ecea1430

Git repo owner gitmaster at git.koha-community.org
Thu Apr 9 22:38:19 CEST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 19.05.x has been updated
       via  76ecea1430bbbf236ab60064b4c81fe2a60d9d9b (commit)
      from  b791fabc939ace33aa915d3ae6e2480ce2901581 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 76ecea1430bbbf236ab60064b4c81fe2a60d9d9b
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Thu May 23 07:55:15 2019 +0200

    Bug 22969: fix biblionumber on 001 in UNIMARC XSLT
    
    In UNIMARC default configuration the 001 is linked to biblio.biblionumber.
    In some XSLT files, 090$a is used.
    This is by default biblioitems.biblionumber so it usually works but it may not be the same and var biblionumber is used to create hyperlinks to record detail page.
    
    Test plan :
    1) Use UNIMARC database
    2) Set default in all XSLT system preferences
    3) At OPAC, perform a search and click on a result
    4) Check displayed page shows the correct biblio record
    5) Same at intranet
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Tested on clean UNIMARC install.
    Before insert new records: "alter table biblioitems AUTO_INCREMENT = 5"
    Added two records, with result:
    +--------------+------------------+
    | biblionumber | biblioitemnumber |
    +--------------+------------------+
    |            1 |                5 |
    |            2 |                6 |
    +--------------+------------------+
    Without patch, OPAC results shows for first record
      http://opac/cgi-bin/koha/opac-detail.pl?biblionumber=5, Wrong!
    with patch result is correct
    
    Works, no errors
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
    (cherry picked from commit 5bf9a83495971a196224f9342394a5b2d065d3e1)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl | 2 +-
 koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl    | 2 +-
 koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl   | 6 ++----
 3 files changed, 4 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list