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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-1 lines)
Lines 627-633 function _dt_default_ajax (params){ Link Here
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
                dataSet.q = query_parameters;
628
                dataSet.q = query_parameters;
629
            }
629
            }
630
            delete options.query_parameters;
631
630
632
            dataSet._match = options.criteria;
631
            dataSet._match = options.criteria;
633
632
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js (-4 lines)
Lines 180-188 $.fn.dataTable.ext.buttons.clearFilter = { Link Here
180
                                if(query_parameters.length) {
180
                                if(query_parameters.length) {
181
                                    query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:query_parameters);
181
                                    query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:query_parameters);
182
                                    dataSet.q = query_parameters;
182
                                    dataSet.q = query_parameters;
183
                                    delete options.query_parameters;
184
                                } else {
185
                                    delete options.query_parameters;
186
                                }
183
                                }
187
184
188
                                dataSet._match = options.criteria;
185
                                dataSet._match = options.criteria;
189
- 

Return to bug 38243