Lines 97-114
Link Here
|
97 |
<caption class="sr-only">Holds history</caption> |
97 |
<caption class="sr-only">Holds history</caption> |
98 |
<thead> |
98 |
<thead> |
99 |
<tr> |
99 |
<tr> |
100 |
<th class="anti-the">Title</th> |
100 |
<th data-colname="title" class="anti-the">Title</th> |
101 |
<th>Author</th> |
101 |
<th data-colname="author">Author</th> |
102 |
<th>Barcode</th> |
102 |
<th data-colname="barcode">Barcode</th> |
103 |
<th>Library</th> |
103 |
<th data-colname="checkout_branch">Library</th> |
104 |
<th>Hold date</th> |
104 |
<th data-colname="hold_date">Hold date</th> |
105 |
<th>Expiration date</th> |
105 |
<th data-colname="expiration_date">Expiration date</th> |
106 |
<th>Waiting date</th> |
106 |
<th data-colname="waiting_date">Waiting date</th> |
107 |
<th>Cancellation date</th> |
107 |
<th data-colname="cancellation_date">Cancellation date</th> |
108 |
[% IF show_itemtype_column %] |
108 |
[% IF show_itemtype_column %] |
109 |
<th>Requested item type</th> |
109 |
<th data-colname="item_type">Requested item type</th> |
110 |
[% END %] |
110 |
[% END %] |
111 |
<th>Status</th> |
111 |
<th data-colname="status">Status</th> |
112 |
</tr> |
112 |
</tr> |
113 |
</thead> |
113 |
</thead> |
114 |
<tbody> |
114 |
<tbody> |
Lines 185-191
Link Here
|
185 |
$('#sort').change(function() { |
185 |
$('#sort').change(function() { |
186 |
$('#sortform').submit(); |
186 |
$('#sortform').submit(); |
187 |
}); |
187 |
}); |
188 |
var columns_settings = []; // Empty because there are no columns we want to be configurable |
188 |
var columns_settings = [% TablesSettings.GetColumns( 'opac', 'patron_details', 'table_holdshistory', 'json') | $raw %]; |
189 |
var table = KohaTable("#table_holdshistory", { |
189 |
var table = KohaTable("#table_holdshistory", { |
190 |
"dom": '<"top"<"table_entries"i><"table_controls"fB>>t', |
190 |
"dom": '<"top"<"table_entries"i><"table_controls"fB>>t', |
191 |
"autoWidth": false, |
191 |
"autoWidth": false, |
192 |
- |
|
|