Koha/koha-tmpl/opac-tmpl/prog/en/xslt
Fridolyn SOMERS bc240a908d Bug 10564 - use OPACURLOpenInNewWindow in UNIMARCslim2OPACResults.xsl
When using UNIMARC XSLT for OPAC detail page, if record has an 856$u,
its content is displayed as a link. The syspref OPACURLOpenInNewWindow
adds the option of opening in a new window (attribute target="_blank").

856$u is also used in UNIMARC results XSLT but the use of
OPACURLOpenInNewWindow syspref is missing. It exists for MARC21.

This patch adds the use of OPACURLOpenInNewWindow in UNIMARCslim2OPACResults.xsl.

Test plan :
- In a UNIMARC catalog, enable XSLT for OPAC results page
- Create a record with a link in 856$u and set second indicator to 0
- Set OPACURLOpenInNewWindow syspref on
- At OPAC, perform a search that contains the record
=> You should see the link : "Click here to access online"
- click on it
=> You shoud get to a new window (or tab depending on your browser configuration)
- Set OPACURLOpenInNewWindow syspref off
- re-perform the search
- click on the link
=> You shoud stay in same window

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: Work as described, no koha-qa errors
Tested following plan after applying patch

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
XSLT change only, works as described.
To test: Catalog 856$u and $a, 2nd indicator = 0.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-08 19:25:19 +00:00
..
compact.xsl Fix a problem when translations contain &nbsp; various XSL files 2011-12-06 12:16:04 +01:00
MARC21slim2OPACDetail.xsl Bug 10793: XSLT change 780/785 search queries to use ti,phr indexes like other linking entries 2013-09-07 20:59:27 +00:00
MARC21slim2OPACMARCdetail.xsl Bug 8872 Add UTF-8 encoding to opac xslt files 2012-11-06 07:28:33 -05:00
MARC21slim2OPACResults.xsl Bug 9820 follow-up: fix a typo 2013-08-26 15:14:08 +00:00
MARC21slimUtils.xsl Bug 6617: Improve MARC21 enhanced contents display 2012-09-05 15:56:35 +02:00
NORMARCslim2OPACDetail.xsl Bug 10745: remove more ambiguity for translators for XSLT subfieldSelect parameters 2013-08-23 16:14:56 +00:00
NORMARCslim2OPACResults.xsl Bug 10745: remove more ambiguity for translators for XSLT subfieldSelect parameters 2013-08-23 16:14:56 +00:00
NORMARCslimUtils.xsl Bug 9213 - Implement analytics for NORMARC XSLT 2013-03-20 14:40:47 -04:00
UNIMARCslim2OPACDetail.xsl Bug 10218: Add individual CSS classes for bibliographic information in OPAC (UNIMARC) 2013-09-07 20:57:04 +00:00
UNIMARCslim2OPACResults.xsl Bug 10564 - use OPACURLOpenInNewWindow in UNIMARCslim2OPACResults.xsl 2013-09-08 19:25:19 +00:00
UNIMARCslimUtils.xsl Bug 10218: Add individual CSS classes for bibliographic information in OPAC (UNIMARC) 2013-09-07 20:57:04 +00:00