|
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 196-201
Link Here
|
| 196 |
$("#sort").change(function () { |
196 |
$("#sort").change(function () { |
| 197 |
$("#sortform").submit(); |
197 |
$("#sortform").submit(); |
| 198 |
}); |
198 |
}); |
|
|
199 |
var table_settings = [% TablesSettings.GetColumns( 'opac', 'patron_details', 'table_holdshistory', 'json') | $raw %]; |
| 199 |
var table = $("#table_holdshistory").kohaTable({ |
200 |
var table = $("#table_holdshistory").kohaTable({ |
| 200 |
dom: '<"top"<"table_entries"i><"table_controls"fB>>t', |
201 |
dom: '<"top"<"table_entries"i><"table_controls"fB>>t', |
| 201 |
autoWidth: false, |
202 |
autoWidth: false, |
|
Lines 204-210
Link Here
|
| 204 |
search: "_INPUT_", |
205 |
search: "_INPUT_", |
| 205 |
searchPlaceholder: _("Search"), |
206 |
searchPlaceholder: _("Search"), |
| 206 |
}, |
207 |
}, |
| 207 |
}); |
208 |
}, table_settings); |
| 208 |
}); |
209 |
}); |
| 209 |
</script> |
210 |
</script> |
| 210 |
[% END %] |
211 |
[% END %] |
| 211 |
- |
|
|