@@ -, +, @@ --- 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() {