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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-2 / +1 lines)
Lines 314-320 Link Here
314
                "-and": function(){
314
                "-and": function(){
315
                    let pattern = $("#search_patron_filter").val();
315
                    let pattern = $("#search_patron_filter").val();
316
                    if (!pattern) return "";
316
                    if (!pattern) return "";
317
                    let patterns = pattern.split(' ').filter(function(s){ return s.length });
317
                    let patterns = pattern.split(/[\s,]+/).filter(function(s){ return s.length });
318
318
319
                    let filters = [];
319
                    let filters = [];
320
                    let search_type = $("#searchtype_filter").val() || "contain";
320
                    let search_type = $("#searchtype_filter").val() || "contain";
321
- 

Return to bug 32491