]> git.koha-community.org Git - koha.git/commit
Bug 6497: MARC URLs not showing up in details pages under normal view
authorIan Walls <ian.walls@bywatersolutions.com>
Mon, 13 Jun 2011 08:08:28 +0000 (04:08 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sun, 19 Jun 2011 20:06:01 +0000 (16:06 -0400)
commit651aadc01420240e2e8b5e49f31b98dd1f6cb59d
tree281e9d8ffadbfda74303a988d49ee06bfe8fb812
parentcf7a961c0ee9df276f4f4614538e165300131e21
Bug 6497: MARC URLs not showing up in details pages under normal view

Part one:  followup to the original patch.  The variable name for the URL itself was wrong, so despite
getting the link to show up, the href was the catalog page itself, NOT the 856$u.  Updating "MARCurl.MARCurl"
to "MARCurl.MARCURL" fixes this issue.

To test:  go to the OPAC, and see that the URL in the link is the same as the URL in the MARC

Part two:  this problem is present on the staff side, as well.  This patch implements both parts of the fix
(renaming "MARCurlS" to "MARCURLS" and "MARCurl.MARCurl" to "MARCurl.MARCURL")

To test:  go to the staff client, and check that a)URLs show up and b)they link to the URL in the MARC record

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 59ac64db973b3a0f4cebd6c5933c4f78bf0dbc2e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt