]> 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 Cormack <chrisc@catalyst.net.nz>
Sun, 19 Jun 2011 10:13:40 +0000 (22:13 +1200)
commit59ac64db973b3a0f4cebd6c5933c4f78bf0dbc2e
tree58bf6b5ca81d2b2c9c4e989cae1b2bb66679c59b
parentb5dcd096bf7bd86853458b0bdaa5a8bb44726cbd
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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt