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

(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +4 lines)
Lines 602-608 jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { Link Here
602
                                    and_query_parameters.push(default_filters);
602
                                    and_query_parameters.push(default_filters);
603
                                }
603
                                }
604
                                query_parameters = and_query_parameters;
604
                                query_parameters = and_query_parameters;
605
                                query_parameters.push(or_query_parameters);
605
                                if ( or_query_parameters.length) {
606
                                    query_parameters.push(or_query_parameters);
607
                                }
608
606
                                if(query_parameters.length) {
609
                                if(query_parameters.length) {
607
                                    query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:{"-and": query_parameters});
610
                                    query_parameters = JSON.stringify(query_parameters.length === 1?query_parameters[0]:{"-and": query_parameters});
608
                                    if(options.header_filter) {
611
                                    if(options.header_filter) {
609
- 

Return to bug 30164