Lines 66-88
Link Here
|
66 |
<table id="holdst"> |
66 |
<table id="holdst"> |
67 |
<thead> |
67 |
<thead> |
68 |
<tr> |
68 |
<tr> |
69 |
<th>Pull this many items</th> |
69 |
<th>Pull this many items</th> |
70 |
<th>Items available</th> |
70 |
<th>Items available</th> |
71 |
<th>Patrons with holds</th> |
71 |
<th>Patrons with holds</th> |
72 |
<th>First patron</th> |
72 |
<th>First patron</th> |
73 |
<th class="anti-the">Title</th> |
73 |
<th class="anti-the">Title</th> |
74 |
<th class="string-sort">Libraries</th> |
74 |
<th class="string-sort">Libraries</th> |
75 |
<th>Available barcodes</th> |
75 |
<th>Available barcodes</th> |
76 |
<th>Available call numbers</th> |
76 |
<th>Available call numbers</th> |
77 |
<th>Available copy numbers</th> |
77 |
<th>Available copy numbers</th> |
78 |
<th>Available enumeration</th> |
78 |
<th>Available enumeration</th> |
79 |
<th class="string-sort">Available item types</th> |
79 |
<th class="string-sort">Available item types</th> |
80 |
<th class="string-sort">Available locations</th> |
80 |
<th class="string-sort">Available locations</th> |
81 |
<th class="string-sort">Available collections</th> |
81 |
<th class="string-sort">Available collections</th> |
82 |
<th>Earliest hold date</th> |
82 |
<th>Earliest hold date</th> |
83 |
<th>Hold notes</th> |
83 |
<th>Hold notes</th> |
84 |
<th class="string-sort">Pickup location</th> |
84 |
<th class="string-sort">Pickup location</th> |
85 |
<th>Action</th> |
85 |
<th>Action</th> |
|
|
86 |
</tr> |
87 |
<tr class="filters_row"> |
88 |
<th><input type="text" class="filter" data-column_num="0" placeholder="Pull this many items" style="width:95%"/></th> |
89 |
<th><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></th> |
90 |
<th><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></th> |
91 |
<th><input type="text" class="filter" data-column_num="3" placeholder="Patron name" style="width:95%"/></th> |
92 |
<th><input type="text" class="filter" data-column_num="4" placeholder="Title" style="width:95%"/></th> |
93 |
<th id="homebranchfilter"></th> |
94 |
<th></th> |
95 |
<th><input type="text" class="filter" data-column_num="7" placeholder="Call number" style="width:95%"/></th> |
96 |
<th><input type="text" class="filter" data-column_num="8" placeholder="Available copy" style="width:95%"/></th> |
97 |
<th><input type="text" class="filter" data-column_num="9" placeholder="Available enumeration" style="width:95%"/></th> |
98 |
<th id="itemtype-filter"></th> |
99 |
<th id="locationfilter"></th> |
100 |
<th></th> |
101 |
<th></th> |
102 |
<th></th> |
103 |
<th id="pickup-location"></th> |
104 |
<th></th> |
86 |
</tr> |
105 |
</tr> |
87 |
</thead> |
106 |
</thead> |
88 |
<tbody> |
107 |
<tbody> |
Lines 251-277
Link Here
|
251 |
</tr> |
270 |
</tr> |
252 |
[% END %] |
271 |
[% END %] |
253 |
</tbody> |
272 |
</tbody> |
254 |
<tfoot> |
|
|
255 |
<tr> |
256 |
<td><input type="text" class="filter" data-column_num="0" placeholder="Pull this many items" style="width:95%"/></td> |
257 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></td> |
258 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></td> |
259 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Patron name" style="width:95%"/></td> |
260 |
<td><input type="text" class="filter" data-column_num="4" placeholder="Title" style="width:95%"/></td> |
261 |
<td id="homebranchfilter"></td> |
262 |
<td></td> |
263 |
<td><input type="text" class="filter" data-column_num="7" placeholder="Call number" style="width:95%"/></td> |
264 |
<td><input type="text" class="filter" data-column_num="8" placeholder="Available copy" style="width:95%"/></td> |
265 |
<td><input type="text" class="filter" data-column_num="9" placeholder="Available enumeration" style="width:95%"/></td> |
266 |
<td id="itemtype-filter"></td> |
267 |
<td id="locationfilter"></td> |
268 |
<td></td> |
269 |
<td></td> |
270 |
<td></td> |
271 |
<td id="pickup-location"></td> |
272 |
<td></td> |
273 |
</tr> |
274 |
</tfoot> |
275 |
</table> |
273 |
</table> |
276 |
[% ELSE %] |
274 |
[% ELSE %] |
277 |
<strong>No items found.</strong> |
275 |
<strong>No items found.</strong> |
Lines 324-329
Link Here
|
324 |
[% MACRO jsinclude BLOCK %] |
322 |
[% MACRO jsinclude BLOCK %] |
325 |
[% INCLUDE 'calendar.inc' %] |
323 |
[% INCLUDE 'calendar.inc' %] |
326 |
[% INCLUDE 'datatables.inc' %] |
324 |
[% INCLUDE 'datatables.inc' %] |
|
|
325 |
[% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] |
327 |
[% INCLUDE 'columns_settings.inc' %] |
326 |
[% INCLUDE 'columns_settings.inc' %] |
328 |
<script> |
327 |
<script> |
329 |
function add_select(column){ |
328 |
function add_select(column){ |
Lines 354-359
Link Here
|
354 |
$(document).ready(function() { |
353 |
$(document).ready(function() { |
355 |
var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %]; |
354 |
var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %]; |
356 |
var holdst = KohaTable("holdst", { |
355 |
var holdst = KohaTable("holdst", { |
|
|
356 |
"orderCellsTop": true, |
357 |
"pagingType": "full_numbers", |
357 |
"pagingType": "full_numbers", |
358 |
initComplete: function () { |
358 |
initComplete: function () { |
359 |
// homebranch |
359 |
// homebranch |
360 |
- |
|
|