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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-1 / +2 lines)
Lines 656-661 Link Here
656
                                "searchable": true,
656
                                "searchable": true,
657
                                "orderable": true,
657
                                "orderable": true,
658
                                "render": function( data, type, row, meta ) {
658
                                "render": function( data, type, row, meta ) {
659
                                    if (data === null) return '';
659
                                    let bsort2 = av_bsort2_map[data.toString()];
660
                                    let bsort2 = av_bsort2_map[data.toString()];
660
                                    return escape_str(bsort2 ? bsort2.lib : data);
661
                                    return escape_str(bsort2 ? bsort2.lib : data);
661
                                }
662
                                }
Lines 667-672 Link Here
667
                                "searchable": true,
668
                                "searchable": true,
668
                                "orderable": true,
669
                                "orderable": true,
669
                                "render": function( data, type, row, meta ) {
670
                                "render": function( data, type, row, meta ) {
671
                                    if (data === null) return '';
670
                                    let bsort1 = av_bsort1_map[data.toString()];
672
                                    let bsort1 = av_bsort1_map[data.toString()];
671
                                    return escape_str(bsort1 ? bsort1.lib : data);
673
                                    return escape_str(bsort1 ? bsort1.lib : data);
672
                                }
674
                                }
673
- 

Return to bug 34608