@@ -, +, @@ --- catalogue/detail.pl | 3 ++- .../prog/en/modules/catalogue/detail.tmpl | 4 ++++ .../opac-tmpl/prog/en/modules/opac-detail.tmpl | 2 ++ opac/opac-detail.pl | 3 ++- 4 files changed, 10 insertions(+), 2 deletions(-) --- a/catalogue/detail.pl +++ a/catalogue/detail.pl @@ -147,7 +147,7 @@ foreach my $item (@items) { $item->{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) ); my $ccode = $item->{'ccode'}; $item->{'ccode'} = $collections->{$ccode} if ( defined( $ccode ) && defined($collections) && exists( $collections->{$ccode} ) ); - foreach (qw(ccode enumchron copynumber)) { + foreach (qw(ccode enumchron copynumber uri)) { $itemfields{$_} = 1 if ( $item->{$_} ); } @@ -193,6 +193,7 @@ $template->param( subtitle => $subtitle, itemdata_ccode => $itemfields{ccode}, itemdata_enumchron => $itemfields{enumchron}, + itemdata_uri => $itemfields{uri}, itemdata_copynumber => $itemfields{copynumber}, volinfo => $itemfields{enumchron} || $dat->{'serial'} , ); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -172,6 +172,7 @@ function verify_images() { Last seen Barcode Publication Details + URL Copy No. @@ -273,6 +274,9 @@ function verify_images() { () + + "> + --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -330,6 +330,7 @@ Collection Call Number Vol Info + URL Copy Serial Data @@ -344,6 +345,7 @@ (&shelfbrowse_itemnumber=#shelfbrowser">Browse Shelf) + "> --- a/opac/opac-detail.pl +++ a/opac/opac-detail.pl @@ -156,7 +156,7 @@ for my $itm (@items) { $itm->{'imageurl'} = getitemtypeimagelocation( 'opac', $itemtypes->{ $itm->{itype} }->{'imageurl'} ); $itm->{'description'} = $itemtypes->{ $itm->{itype} }->{'description'}; } - foreach (qw(ccode enumchron copynumber itemnotes)) { + foreach (qw(ccode enumchron copynumber itemnotes uri)) { $itemfields{$_} = 1 if ($itm->{$_}); } @@ -203,6 +203,7 @@ my $subtitle = C4::Biblio::get_koha_field_from_marc('bibliosubtitle', 's RequestOnOpac => C4::Context->preference("RequestOnOpac"), itemdata_ccode => $itemfields{ccode}, itemdata_enumchron => $itemfields{enumchron}, + itemdata_uri => $itemfields{uri}, itemdata_copynumber => $itemfields{copynumber}, itemdata_itemnotes => $itemfields{itemnotes}, authorised_value_images => $biblio_authorised_value_images, --