From ebc305bddf98277b0be39dbaad804f91f59a25af Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 10 Sep 2008 08:11:07 -0500 Subject: [PATCH] Fix for Bug 2596, "restore ability to hyperlink URL fields in MARC detail display" Signed-off-by: Galen Charlton --- catalogue/MARCdetail.pl | 4 ++-- .../prog/en/modules/catalogue/MARCdetail.tmpl | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 1b4860a3c1..d10d4ba8c3 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -181,8 +181,8 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { if ( $tagslib->{ $fields[$x_i]->tag() }->{ $subf[$i][0] } ->{isurl} ) { - $subfield_data{marc_value} = - "$subf[$i][1]"; + $subfield_data{marc_value} = $subf[$i][1]; + $subfield_data{is_url} = 1; } elsif ( $tagslib->{ $fields[$x_i]->tag() }->{ $subf[$i][0] } ->{kohafield} eq "biblioitems.isbn" ) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl index f88478b820..267aa12a09 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl @@ -89,7 +89,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -119,7 +119,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -149,7 +149,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -179,7 +179,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -209,7 +209,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on "> alt="Search on " /> @@ -239,7 +239,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -269,7 +269,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -299,7 +299,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -329,7 +329,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> @@ -359,7 +359,7 @@ function Changefwk(FwkList) {   "> - + "> ,phr&type=intranet&q="> //images/filefind.png" height="15" title="Search on " alt="Search on " /> -- 2.39.5