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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-1 lines)
Lines 1026-1032 Link Here
1026
                    "ajax": {
1026
                    "ajax": {
1027
                        "url": pending_orders_url + "?q=" + encodeURI(JSON.stringify(base_query))
1027
                        "url": pending_orders_url + "?q=" + encodeURI(JSON.stringify(base_query))
1028
                    },
1028
                    },
1029
                    "header_filter": true,
1030
                    "embed": [
1029
                    "embed": [
1031
                        "invoice",
1030
                        "invoice",
1032
                        "basket"
1031
                        "basket"
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-9 / +2 lines)
Lines 625-639 function _dt_default_ajax (params){ Link Here
625
625
626
            if(query_parameters.length) {
626
            if(query_parameters.length) {
627
                query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:{"-and": query_parameters});
627
                query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:{"-and": query_parameters});
628
                if(options.header_filter) {
628
                dataSet.q = query_parameters;
629
                    options.query_parameters = query_parameters;
630
                } else {
631
                    dataSet.q = query_parameters;
632
                    delete options.query_parameters;
633
                }
634
            } else {
635
                delete options.query_parameters;
636
            }
629
            }
630
            delete options.query_parameters;
637
631
638
            dataSet._match = options.criteria;
632
            dataSet._match = options.criteria;
639
633
640
- 

Return to bug 38243