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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-3 / +2 lines)
Lines 408-414 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
408
    function showAdvancedSearch() {
408
    function showAdvancedSearch() {
409
        $('#advanced-search-servers').empty();
409
        $('#advanced-search-servers').empty();
410
        $.each( z3950Servers, function( index, server ) {
410
        $.each( z3950Servers, function( index, server ) {
411
            $('#advanced-search-servers').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.name + '</label></li>' );
411
            $('#advanced-search-servers').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.servername + '</label></li>' );
412
        } );
412
        } );
413
        $('#advanced-search-ui').modal('show');
413
        $('#advanced-search-ui').modal('show');
414
    }
414
    }
Lines 470-476 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
470
                num_fetched += '+';
470
                num_fetched += '+';
471
            }
471
            }
472
472
473
            $('#search-serversinfo').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.name + ' (' + num_fetched + ')' + '</label></li>' );
473
            $('#search-serversinfo').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.servername + ' (' + num_fetched + ')' + '</label></li>' );
474
        } );
474
        } );
475
475
476
        var seenColumns = {};
476
        var seenColumns = {};
477
- 

Return to bug 27363