@@ -, +, @@ reserves report --- circ/pendingreserves.pl | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) --- a/circ/pendingreserves.pl +++ a/circ/pendingreserves.pl @@ -104,7 +104,7 @@ if ( $run_report ) { ORDER BY items.itemnumber SEPARATOR ', ') l_branch, items.holdingbranch as branch, GROUP_CONCAT(DISTINCT items.itype - ORDER BY items.itemnumber SEPARATOR '
') l_itype, + ORDER BY items.itemnumber SEPARATOR '|') l_itype, GROUP_CONCAT(DISTINCT items.location ORDER BY items.itemnumber SEPARATOR '|') l_location, GROUP_CONCAT(DISTINCT items.itemcallnumber @@ -177,7 +177,7 @@ if ( $run_report ) { count => $data->{icount}, rcount => $data->{rcount}, pullcount => $data->{icount} <= $data->{rcount} ? $data->{icount} : $data->{rcount}, - itype => $data->{l_itype}, + itypes => [split('\|', $data->{l_itype})], locations => [split('\|', $data->{l_location})], } ); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -134,7 +134,11 @@ $(document).ready(function() {

[% reserveloo.itemcallnumber %]

[% reserveloo.copyno %]

[% reserveloo.enumchron %]

- [% ItemTypes.GetDescription( reserveloo.itype ) %] + + [% FOREACH itype IN reserveloo.itypes %] + [% ItemTypes.GetDescription( itype ) %] + [% END %] + [% FOREACH loc IN reserveloo.locations %] [% AuthorisedValues.GetByCode('LOC', loc) %]
--