Koha/koha-tmpl/intranet-tmpl/prog/en/xslt
Fridolin Somers 2eebecfb62
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@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@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-06 09:56:00 +00:00
..
compact.xsl
Del9LinksExcept952.xsl
Del9LinksExcept995.xsl
Del952.xsl
Del995.xsl
identity.xsl
MARC21Languages.xsl
MARC21slim2ATOM.xsl
MARC21slim2DC.xsl
MARC21slim2intranetDetail.xsl Bug 24605: (QA follow-up) Fix unencoded series link in staff interface 2020-02-26 20:34:27 +00:00
MARC21slim2intranetResults.xsl Bug 23407: (QA follow-up) Remove some XSLT item leftovers 2020-01-24 12:50:40 +00:00
MARC21slim2MADS.xsl
MARC21slim2MODS.xsl
MARC21slim2MODS3-1.xsl
MARC21slim2MODS3.xsl
MARC21slim2MODS32.xsl
MARC21slim2OAIDC.xsl
MARC21slim2RDFDC.xsl
MARC21slim2RDFDC.xsl.1
MARC21slim2RSS2.xsl
MARC21slim2SRWDC.xsl
MARC21slim9522852.xsl
MARC21slimUtils-MODS31.xsl
MARC21slimUtils.xsl
MARC21slimUtils2.xsl
NORMARCslim2intranetDetail.xsl
NORMARCslim2intranetResults.xsl
NORMARCslim2OAIDC.xsl
NORMARCslimUtils.xsl
oilsMARC21slim2HTML.xsl
plainMARC.xsl
UNIMARC_compact.xsl
UNIMARCslim2intranetDetail.xsl Bug 22969: fix biblionumber on 001 in UNIMARC XSLT 2020-03-06 09:56:00 +00:00
UNIMARCslim2intranetResults.xsl Bug 23407: (QA follow-up) Same change for UNIMARC XSLT 2020-01-24 12:50:44 +00:00
UNIMARCslim2OAIDC.xsl
UNIMARCslim2RDFDC.xsl
UNIMARCslim2SRWDC.xsl
UNIMARCslimUtils.xsl