]> git.koha-community.org Git - koha.git/commit
Bug 9309 - Make OPACurlOpenInNewWindow be respected for 856$u
authorRobin Sheat <robin@catalyst.net.nz>
Thu, 20 Dec 2012 02:45:33 +0000 (15:45 +1300)
committerChris Cormack <chris@bigballofwax.co.nz>
Wed, 16 Jan 2013 06:46:16 +0000 (19:46 +1300)
commite6b1ca6404303aec7715108b6573a9f202907b2c
tree1d80dc8f33310313b6a1156f93262a52e5dbe8f6
parent4a95479a5a45b87acc59372ebcc8d84d2c21bc3d
Bug 9309 - Make OPACurlOpenInNewWindow be respected for 856$u

If a biblio record contained a URL, and the OPAC was using the "normal"
(non-XSLT) display for records, then these links would never open a new
window. With this patch, they will.

Test plan:
1) have a biblio containing an 856$u link
2) set OPACurlOpenInNewWindow to "true"
3) do not use XSLT for displaying the detail pages in the OPAC
4) view the record, click the link, and note that it opens in the
   current window.
5) apply the patch
6) reload the detail page, click the link, and note that it opens a new
   window.

Sponsored-By: National Institute of Water and Atmospheric Research
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt