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

(-)a/koha-tmpl/intranet-tmpl/prog/js/patron-autocomplete.js (-2 / +1 lines)
Lines 17-23 function patron_autocomplete(node, options) { Link Here
17
    return node.autocomplete({
17
    return node.autocomplete({
18
        source: function( request, response ) {
18
        source: function( request, response ) {
19
            let subquery_and = [];
19
            let subquery_and = [];
20
            request.term.split(' ')
20
            request.term.split(/[\s,]+/)
21
                .filter(function(s){ return s.length })
21
                .filter(function(s){ return s.length })
22
                .forEach(function(pattern,i){
22
                .forEach(function(pattern,i){
23
                    subquery_and.push(
23
                    subquery_and.push(
24
- 

Return to bug 32491