]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 16 Jan 2013 03:02:15 +0000 (22:02 -0500)
commit71c85a20ba5a6e52621b8f1a9c16a39514760c98
tree1367edffa0285a5b32361750fe422d8e524b19aa
parent518ddc59d020feb6c2661cbf6c0d51703507ca12
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>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt