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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-3 / +2 lines)
Lines 213-219 Link Here
213
    [% END %]
213
    [% END %]
214
    <script>
214
    <script>
215
        let categories = [% To.json(categories) | $raw %].map(e => {
215
        let categories = [% To.json(categories) | $raw %].map(e => {
216
            e['_id'] = e.categorycode;
216
            e['_id'] = e.categorycode.toLowerCase();
217
            e['_str'] = e.description;
217
            e['_str'] = e.description;
218
            return e;
218
            return e;
219
        });
219
        });
Lines 546-552 Link Here
546
                                "searchable": true,
546
                                "searchable": true,
547
                                "orderable": true,
547
                                "orderable": true,
548
                                "render": function( data, type, row, meta ) {
548
                                "render": function( data, type, row, meta ) {
549
                                    return escape_str(categories_map[data].description);
549
                                    return escape_str(categories_map[data.toLowerCase()].description);
550
                                }
550
                                }
551
                            }
551
                            }
552
                            [% CASE 'dateexpiry' %]
552
                            [% CASE 'dateexpiry' %]
553
- 

Return to bug 32517