Koha/koha-tmpl/opac-tmpl/bootstrap/en/xslt
Fridolin Somers 67ef0d8709
Bug 23383: fix IdRef syspref test in XSLT
IdRef link is displayed via XSLT.
There is a test of syspref with just if value is defined.
But in installer/data/mysql/sysprefs.sql you see this pref will be 0 by default, which is true in XPATH.
We should test that pref is 1.

Test plan :
1) Create a fresh UNIMARC database
2) You have pref IdRef disabled
3) Simulate a SUDOC record:
  Fill a 7..$3 field with a ppn (032581270 for example).
  Fill the 009 field with an integer
4) Go to the opac detail page of the record => You don't see IdRef link
5) Enable IdRef syspref
6) Go to the opac detail page of the record => You see IdRef link
7) Disable IdRef syspref
8) Go to the opac detail page of the record => You don't see IdRef link

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-16 10:42:02 +00:00
..
compact.xsl
MARC21Languages.xsl Bug 23783: Show languages from MARC21 field 041 in OPAC 2020-01-02 12:29:07 +00:00
MARC21slim2OPACDetail.xsl Bug 13327: (follow-up) Correct CSS and XSL errors 2020-03-02 09:27:05 +00:00
MARC21slim2OPACResults.xsl Bug 7611: (follow-up) separate positive and negative statuses as in the past 2020-02-17 11:21:38 +00:00
MARC21slimUtils.xsl Bug 24654: Remove trailing quote in rda264 XSLT 2020-02-19 10:58:44 +00:00
NORMARCslim2OPACDetail.xsl Bug 22581: Show and play musical inscripts 2019-11-03 08:11:38 +00:00
NORMARCslim2OPACResults.xsl Bug 14716: Fix more unencoded url parameters. 2018-10-31 13:19:23 +00:00
NORMARCslimUtils.xsl Bug 14716: Fix more unencoded url parameters. 2018-10-31 13:19:23 +00:00
plainMARC.xsl Bug 10647 - Make OPAC MARC plain view work for all flavours of MARC 2014-03-14 14:50:13 +00:00
UNIMARCslim2OPACDetail.xsl Bug 22969: fix biblionumber on 001 in UNIMARC XSLT 2020-03-06 09:56:00 +00:00
UNIMARCslim2OPACResults.xsl Bug 22969: fix biblionumber on 001 in UNIMARC XSLT 2020-03-06 09:56:00 +00:00
UNIMARCslimUtils.xsl Bug 23383: fix IdRef syspref test in XSLT 2020-03-16 10:42:02 +00:00