]> 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:34 +0000 (19:46 +1300)
commit75940713bb1cba4bb83ce624d67549706c7a61f0
tree45ddedd476ff7a60f34112f4297f60c008ed6859
parent7da73eeb20ab878b27b9bed6eb6cb49aee78abd6
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