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 1036-1042 function _dt_save_restore_state(table_settings, external_filter_nodes={}){ Link Here
1036
                };
1036
                };
1037
            }
1037
            }
1038
1038
1039
            if (options.ajax) {
1039
            if (options.ajax && !options.bKohaAjaxSVC) {
1040
                options.ajax = Object.assign(
1040
                options.ajax = Object.assign(
1041
                    {},
1041
                    {},
1042
                    options.ajax,
1042
                    options.ajax,
Lines 1076-1081 function _dt_save_restore_state(table_settings, external_filter_nodes={}){ Link Here
1076
        }
1076
        }
1077
1077
1078
        $(this).data('bKohaColumnsUseNames', settings.bKohaColumnsUseNames);
1078
        $(this).data('bKohaColumnsUseNames', settings.bKohaColumnsUseNames);
1079
        $(this).data('bKohaAjaxSVC', settings.bKohaAjaxSVC); // Must not be used for new tables!
1079
        var table = $(this).dataTable(settings);
1080
        var table = $(this).dataTable(settings);
1080
1081
1081
        var table_dt = table.DataTable();
1082
        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