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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-16 / +13 lines)
Lines 1-5 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE To %]
3
[% USE Asset %]
2
[% USE Asset %]
4
[% USE Koha %]
3
[% USE Koha %]
5
[% USE KohaDates %]
4
[% USE KohaDates %]
Lines 322-343 Link Here
322
        }
321
        }
323
322
324
        $(document).ready(function() {
323
        $(document).ready(function() {
325
                [% SET libraries = Branches.all %]
324
            let filters_options = {
326
                let filters_options = {
325
                [5] : (table_dt) => get_options(table_dt.column(5)),
327
                    [5] : (table_dt) => get_options(table_dt.column(5)),
326
                [10] : (table_dt) => get_options(table_dt.column(10)),
328
                    [10] : (table_dt) => get_options(table_dt.column(10)),
327
                [11] : (table_dt) => get_options(table_dt.column(11)),
329
                    [11] : (table_dt) => get_options(table_dt.column(11)),
328
                [15] : (table_dt) => get_options(table_dt.column(15)),
330
                    [15] : (table_dt) => get_options(table_dt.column(15)),
329
            };
331
                };
332
330
333
331
334
          var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %];
332
            var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %];
335
          var holdst = KohaTable("holdst", {
333
            var holdst = KohaTable("holdst", {
336
            "pagingType": "full_numbers",
334
                "pagingType": "full_numbers",
337
            "columnDefs": [
335
                "columnDefs": [
338
                { "orderable": false, "searchable":  false, "targets": [ 'NoSort' ] },
336
                    { "orderable": false, "searchable":  false, "targets": [ 'NoSort' ] },
339
            ],
337
                ],
340
          }, table_settings, true, null, filters_options);
338
            }, table_settings, true, null, filters_options);
341
        });
339
        });
342
    </script>
340
    </script>
343
[% END %]
341
[% END %]
344
- 

Return to bug 38484