+[% USE ItemTypes %]
+[% USE AuthorisedValues %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Circulation › Holds Queue</title>
+<title>Koha › Circulation › Holds queue</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css"> p { margin-top: 0; }</style>
</head>
-<body>
+<body id="circ_view_holdsqueue" class="circ">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
+<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/en/css/datatables.css" />
+<script type="text/javascript" src="[% interface %]/[% theme %]/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
+[% INCLUDE 'datatables-strings.inc' %]
+<script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script>
+<script type="text/javascript">//<![CDATA[
+$(document).ready(function() {
+ $("#holdst").dataTable({
+ "aaSorting": [[ 3, "asc" ]],
+ "bPaginate": false,
+ "bLengthChange": false,
+ "bFilter": false,
+ "bSort": true,
+ "bInfo": false,
+ "bAutoWidth": false
+ });
+});
+//]]>
+</script>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
› <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
-› <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds Queue</a>
+› <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
[% IF ( run_report ) %] › Results[% END %]
</div>
[% IF ( run_report ) %]
[% IF ( total ) %]
<div class="results">[% total %] items found for
- [% IF ( branch ) %][% branch %][% ELSE %]ALL libraries[% END %]
+ [% IF ( branchlimit ) %][% branchlimit %][% ELSE %]ALL libraries[% END %]
</div>
[% ELSE %]
<div class="dialog message">No items found.</div>
<tr>
<th class="hq-title">Title</th>
<th class="hq-collection">Collection</th>
- <th class="hq-callnumber">Call Number</th>
+ <th class="hq-itemtype">Item type</th>
+ <th class="hq-callnumber">Call number</th>
+ <th class="hq-copynumber">Copy number</th>
+ <th class="hq-enumchron">Enumeration</th>
<th class="hq-barcode">Barcode</th>
<th class="hq-patron">Patron</th>
- <th class="hq-sendto">Send To</th>
+ <th class="hq-sendto">Send to</th>
<th class="hq-date">Date</th>
+ <th class="hq-notes">Notes</th>
</tr>
</thead>
<tbody>[% FOREACH itemsloo IN itemsloop %]
[% IF ( itemsloo.size ) %][% itemsloo.size %][% END %] [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn %][% END %]</p>
</div>
</td>
- <td class="hq-collection">[% itemsloo.ccode %]</td>
- <td class="hq-callnumber">[% itemsloo.location %] [% itemsloo.itemcallnumber %] [% itemsloo.enumchron %]</td>
+ <td class="hq-collection">[% AuthorisedValues.GetByCode( 'CCODE', itemsloo.ccode ) %]</td>
+ <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.itype ) %]</td>
+ <td class="hq-callnumber">[% itemsloo.location %] [% itemsloo.itemcallnumber %]</td>
+ <td class="hq-copynumber">[% itemsloo.copynumber %]</td>
+ <td class="hq-enumchron">[% itemsloo.enumchron %]</td>
<td class="hq-barcode">
[% IF ( itemsloo.item_level_request ) %]
<em>Only Item:</em> <strong>[% itemsloo.barcode %]</strong>
<td class="hq-patron"><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% itemsloo.cardnumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p> <p>[% itemsloo.phone %]</p></td>
<td class="hq-sendto">[% itemsloo.pickbranch %]</td>
<td class="hq-date">[% itemsloo.reservedate %]</td>
+ <td class="hq-notes">[% itemsloo.notes %]</td>
</tr>
[% END %]</tbody>
</table>