]> 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)
committerLiz Rea <liz@catalyst.net.nz>
Mon, 28 Jan 2013 21:53:29 +0000 (10:53 +1300)
commit856a3598f6f549c008d3fafc5485d7f7feb79b8a
treefb056e4e554acd88ad239dc10d995e32799234ad
parent96b42128d04d11e2e2e2e627798a584e7f8dd969
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>
Signed-off-by: Liz Rea <liz@catalyst.net.nz>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt