diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index ea78061fe2..081931816f 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -201,6 +201,8 @@ my $strsth = GROUP_CONCAT(DISTINCT items.copynumber ORDER BY items.itemnumber SEPARATOR '|') l_copynumber, biblio.title, + biblio.copyrightdate, + biblioitems.publicationyear, biblio.subtitle, biblio.medium, biblio.part_number, @@ -273,6 +275,7 @@ while ( my $data = $sth->fetchrow_hashref ) { holdingbranch => $data->{holdingbranch}, homebranch => $data->{homebranch}, itemnumber => $data->{itemnumber}, + publicationyear => C4::Context->preference('marcflavour') eq "MARC21" ? $data->{copyrightdate} : $data->{publicationyear}, } ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 7783acc707..af6c8114ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -81,6 +81,7 @@

[% IF ( reserveloo.author ) %]

by [% reserveloo.author | html %]

[% END %] [% IF ( reserveloo.editionstatement ) %]

[% reserveloo.editionstatement | html %]

[% END %] + [% IF ( reserveloo.publicationyear ) %]

[% reserveloo.publicationyear | html %]

[% END %] [% ELSE %] "