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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-3 / +2 lines)
Lines 260-266 Link Here
260
        }, {});
260
        }, {});
261
261
262
262
263
        const av_bsort1= [% To.json(av_bsort1) | $raw %].map( e => {
263
        var av_bsort1= [% To.json(av_bsort1) | $raw %].map( e => {
264
            e['_id'] = e.authorised_value;
264
            e['_id'] = e.authorised_value;
265
            e['_str'] = e.lib;
265
            e['_str'] = e.lib;
266
            return e;
266
            return e;
Lines 269-275 Link Here
269
            map[e._id] = e;
269
            map[e._id] = e;
270
            return map;
270
            return map;
271
        }, {});
271
        }, {});
272
        const av_bsort2= [% To.json(av_bsort2) | $raw %].map( e => {
272
        var av_bsort2= [% To.json(av_bsort2) | $raw %].map( e => {
273
            e['_id'] = e.authorised_value;
273
            e['_id'] = e.authorised_value;
274
            e['_str'] = e.lib;
274
            e['_str'] = e.lib;
275
            return e;
275
            return e;
276
- 

Return to bug 38190