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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-3 / +1 lines)
Lines 347-355 Link Here
347
347
348
            // Build the aLengthMenu
348
            // Build the aLengthMenu
349
            let aLengthMenu = [
349
            let aLengthMenu = [
350
                [% Koha.Preference('PatronsPerPage') | html %], 10, 20, 50, 100, -1
350
                ...new Set([[% Koha.Preference('PatronsPerPage') | html %], 10, 20, 50, 100, -1])
351
            ];
351
            ];
352
            jQuery.unique(aLengthMenu);
353
            aLengthMenu.sort(function( a, b ){
352
            aLengthMenu.sort(function( a, b ){
354
                // Put "All" at the end
353
                // Put "All" at the end
355
                if ( a == -1 ) {
354
                if ( a == -1 ) {
356
- 

Return to bug 30397