ORDER BY items.itemnumber SEPARATOR '|') l_enumchron,
GROUP_CONCAT(DISTINCT items.copynumber
ORDER BY items.itemnumber SEPARATOR '|') l_copynumber,
+ GROUP_CONCAT(DISTINCT items.barcode
+ ORDER BY items.itemnumber SEPARATOR '|') l_barcode,
biblio.title,
biblio.copyrightdate,
biblioitems.publicationyear,
itemcallnumber => [split('\|', $data->{l_itemcallnumber})],
enumchron => [split('\|', $data->{l_enumchron})],
copyno => [split('\|', $data->{l_copynumber})],
+ barcode => [split('\|', $data->{l_barcode})],
count => $data->{icount},
rcount => $data->{rcount},
pullcount => $data->{icount} <= $data->{rcount} ? $data->{icount} : $data->{rcount},
<th>First patron</th>
<th class="anti-the">Title</th>
<th class="string-sort">Libraries</th>
+ <th>Available barcodes</th>
<th>Available call numbers</th>
<th>Available copy numbers</th>
<th>Available enumeration</th>
[% END %]
</td>
<td>
+ [% IF ( reserveloo.barcode ) %]
+ [% IF ( reserveloo.itemnumber ) %]Only [% reserveloo.barcode.first | html %][% ELSE %][% reserveloo.barcode.first | html %] or any available.[% END %]
+ [% END %]
+ </td>
+ <td>
[% IF ( reserveloo.itemcallnumber ) %]
<ul>
[% FOREACH itemcallnumber IN reserveloo.itemcallnumber %]