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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (+1 lines)
Lines 657-662 Link Here
657
                            });
657
                            });
658
                        }
658
                        }
659
                    },
659
                    },
660
                    bKohaAjaxSVC: true,
660
                    'columns':[
661
                    'columns':[
661
                        { "data": 'dt_public' },
662
                        { "data": 'dt_public' },
662
                        { "data": 'dt_shelfname' },
663
                        { "data": 'dt_shelfname' },
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (+3 lines)
Lines 436-441 function LoadIssuesTable() { Link Here
436
        ajax: {
436
        ajax: {
437
            url: '/cgi-bin/koha/svc/checkouts?borrowernumber=%s'.format(borrowernumber),
437
            url: '/cgi-bin/koha/svc/checkouts?borrowernumber=%s'.format(borrowernumber),
438
        },
438
        },
439
        bKohaAjaxSVC: true,
439
        "rowGroup":{
440
        "rowGroup":{
440
            "dataSrc": "issued_today",
441
            "dataSrc": "issued_today",
441
            "startRender": function ( rows, group ) {
442
            "startRender": function ( rows, group ) {
Lines 974-979 $(document).ready(function() { Link Here
974
                ajax: {
975
                ajax: {
975
                    url: '/cgi-bin/koha/svc/checkouts?%s'.format(relatives_borrowernumbers.map(b => 'borrowernumber=%s'.format(b)).join('&')),
976
                    url: '/cgi-bin/koha/svc/checkouts?%s'.format(relatives_borrowernumbers.map(b => 'borrowernumber=%s'.format(b)).join('&')),
976
                },
977
                },
978
                bKohaAjaxSVC: true,
977
            }, table_settings_relatives_issues_table);
979
            }, table_settings_relatives_issues_table);
978
        }
980
        }
979
    });
981
    });
Lines 1170-1175 $(document).ready(function() { Link Here
1170
                        }
1172
                        }
1171
                    }
1173
                    }
1172
                },
1174
                },
1175
                bKohaAjaxSVC: true,
1173
                "search": { "search": "is_unresolved" },
1176
                "search": { "search": "is_unresolved" },
1174
                "footerCallback": function (row, data, start, end, display) {
1177
                "footerCallback": function (row, data, start, end, display) {
1175
                    var api = this.api();
1178
                    var api = this.api();
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-1 / +2 lines)
Lines 1027-1033 function _dt_save_restore_state(table_settings, external_filter_nodes={}){ Link Here
1027
                };
1027
                };
1028
            }
1028
            }
1029
1029
1030
            if (options.ajax) {
1030
            if (options.ajax && !options.bKohaAjaxSVC) {
1031
                options.ajax = Object.assign(
1031
                options.ajax = Object.assign(
1032
                    {},
1032
                    {},
1033
                    options.ajax,
1033
                    options.ajax,
Lines 1067-1072 function _dt_save_restore_state(table_settings, external_filter_nodes={}){ Link Here
1067
        }
1067
        }
1068
1068
1069
        $(this).data('bKohaColumnsUseNames', settings.bKohaColumnsUseNames);
1069
        $(this).data('bKohaColumnsUseNames', settings.bKohaColumnsUseNames);
1070
        $(this).data('bKohaAjaxSVC', settings.bKohaAjaxSVC); // Must not be used for new tables!
1070
        var table = $(this).dataTable(settings);
1071
        var table = $(this).dataTable(settings);
1071
1072
1072
        var table_dt = table.DataTable();
1073
        var table_dt = table.DataTable();
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-1 / +1 lines)
Lines 328-333 $(document).ready(function() { Link Here
328
                        d.borrowernumber = borrowernumber;
328
                        d.borrowernumber = borrowernumber;
329
                    }
329
                    }
330
                },
330
                },
331
                bKohaAjaxSVC: true,
331
            }, table_settings_holds_table );
332
            }, table_settings_holds_table );
332
333
333
            $('#holds-table').on( 'draw.dt', function () {
334
            $('#holds-table').on( 'draw.dt', function () {
334
- 

Return to bug 38255