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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-4 / +4 lines)
Lines 480-489 Link Here
480
                    url: '/cgi-bin/koha/catalogue/itemsearch.pl',
480
                    url: '/cgi-bin/koha/catalogue/itemsearch.pl',
481
                    data: function ( d ) {
481
                    data: function ( d ) {
482
                        for (i in params) {
482
                        for (i in params) {
483
                            if (! d.hasOwnProperty(params[i].name) ) {
483
                            if(d[params[i].name]){
484
                                d[params[i].name] = [];
484
                                d[params[i].name] = [].concat(d[params[i].name], params[i].value);
485
                            }else{
486
                                d[params[i].name] = params[i].value;
485
                            }
487
                            }
486
                            d[params[i].name].push(params[i].value);
487
                        }
488
                        }
488
                        d.format = 'json';
489
                        d.format = 'json';
489
                        d.columns = JSON.stringify( d.columns );
490
                        d.columns = JSON.stringify( d.columns );
490
- 

Return to bug 36563