diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl
index 734b8d7b94..d0c727413f 100755
--- a/circ/pendingreserves.pl
+++ b/circ/pendingreserves.pl
@@ -192,11 +192,11 @@ my $strsth =
GROUP_CONCAT(DISTINCT items.location
ORDER BY items.itemnumber SEPARATOR '|') l_location,
GROUP_CONCAT(DISTINCT items.itemcallnumber
- ORDER BY items.itemnumber SEPARATOR '
') l_itemcallnumber,
+ ORDER BY items.itemnumber SEPARATOR '|') l_itemcallnumber,
GROUP_CONCAT(DISTINCT items.enumchron
- ORDER BY items.itemnumber SEPARATOR '
') l_enumchron,
+ ORDER BY items.itemnumber SEPARATOR '|') l_enumchron,
GROUP_CONCAT(DISTINCT items.copynumber
- ORDER BY items.itemnumber SEPARATOR '
') l_copynumber,
+ ORDER BY items.itemnumber SEPARATOR '|') l_copynumber,
biblio.title,
biblio.author,
count(DISTINCT items.itemnumber) as icount,
@@ -251,9 +251,9 @@ while ( my $data = $sth->fetchrow_hashref ) {
biblionumber => $data->{biblionumber},
holdingbranches => [split('\|', $data->{l_holdingbranch})],
branch => $data->{l_branch},
- itemcallnumber => $data->{l_itemcallnumber},
- enumchron => $data->{l_enumchron},
- copyno => $data->{l_copynumber},
+ itemcallnumber => [split('\|', $data->{l_itemcallnumber})],
+ enumchron => [split('\|', $data->{l_enumchron})],
+ copyno => [split('\|', $data->{l_copynumber})],
count => $data->{icount},
rcount => $data->{rcount},
pullcount => $data->{icount} <= $data->{rcount} ? $data->{icount} : $data->{rcount},
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 2f0b7755c8..331e0a155f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt
@@ -46,7 +46,7 @@
The following holds have not been filled. Please retrieve them and check them in.
-| Pull this many items | Items available | Patrons with holds | -First patron + | First patron | Title | Libraries | Available call numbers | @@ -88,13 +88,49 @@" | [% END %]
- [% FOREACH holdingbranch IN reserveloo.holdingbranches %]
- [% Branches.GetName ( holdingbranch ) | html %]
+ [% IF ( reserveloo.holdingbranches ) %]
+
|
+
+ [% IF ( reserveloo.itemcallnumber ) %]
+
|
+
+ [% IF ( reserveloo.copyno ) %]
+
|
+
+ [% IF ( reserveloo.enumchron ) %]
+
|
- [% reserveloo.itemcallnumber | html %] |
- [% reserveloo.copyno | html %] |
- [% reserveloo.enumchron | html %] |
[% FOREACH itemType IN reserveloo.itemTypes %] [% ItemTypes.GetDescription( itemType ) | html %] @@ -135,6 +171,7 @@ Biblio level hold. [% END %] [% END %] + | [% END %]
|---|