View | Details | Raw Unified | Return to bug 37148
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-22 / +6 lines)
Lines 62-67 Link Here
62
<h3>Reported on [% todaysdate | $KohaDates %]</h3>
62
<h3>Reported on [% todaysdate | $KohaDates %]</h3>
63
<p>The following holds have not been filled. Please retrieve them and check them in.</p>
63
<p>The following holds have not been filled. Please retrieve them and check them in.</p>
64
<div id="searchresults">
64
<div id="searchresults">
65
    <div class="holdst_table_controls">
66
    </div>
65
    [% IF holds_info %]
67
    [% IF holds_info %]
66
    <table id="holdst">
68
    <table id="holdst">
67
    <thead>
69
    <thead>
Lines 252-276 Link Here
252
        [% END %]
254
        [% END %]
253
    </tbody>
255
    </tbody>
254
    <tfoot>
256
    <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>
257
    </tfoot>
275
    </table>
258
    </table>
276
    [% ELSE %]
259
    [% ELSE %]
Lines 279-284 Link Here
279
</div>
262
</div>
280
263
281
264
265
282
            </main>
266
            </main>
283
        </div> <!-- /.col-md-10.order-md-2 -->
267
        </div> <!-- /.col-md-10.order-md-2 -->
284
268
Lines 325-337 Link Here
325
    [% INCLUDE 'calendar.inc' %]
309
    [% INCLUDE 'calendar.inc' %]
326
    [% INCLUDE 'datatables.inc' %]
310
    [% INCLUDE 'datatables.inc' %]
327
    [% INCLUDE 'columns_settings.inc' %]
311
    [% INCLUDE 'columns_settings.inc' %]
312
    [% Asset.js("js/table_filters.js") | $raw %]
313
    [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %]
328
    <script>
314
    <script>
329
        $(document).ready(function() {
315
        $(document).ready(function() {
330
          var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %];
316
          var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %];
331
          var holdst = KohaTable("holdst", {
317
          var holdst = KohaTable("holdst", {
332
            "pagingType": "full_numbers"
318
            "pagingType": "full_numbers"
333
          }, table_settings);
319
          }, table_settings, true);
334
          holdst.fnAddFilters("filter");
335
          [%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %]
320
          [%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %]
336
          function separateData ( ColumnData ){
321
          function separateData ( ColumnData ){
337
            var cD = ColumnData;
322
            var cD = ColumnData;
338
- 

Return to bug 37148