@@ -, +, @@ servertype --- C4/Breeding.pm | 2 +- acqui/z3950_search.pl | 2 +- cataloguing/z3950_auth_search.pl | 2 +- cataloguing/z3950_search.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt | 2 +- .../intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) --- a/C4/Breeding.pm +++ a/C4/Breeding.pm @@ -227,7 +227,7 @@ sub Z3950Search { $oConnection[$s]= create ZOOM::Connection($option1); $oConnection[$s]->connect( $server->{host}, $server->{port} ); $serverinfo[$s]->{host}= $server->{host}; - $serverinfo[$s]->{name}= $server->{name}; + $serverinfo[$s]->{name}= $server->{servername}; $serverinfo[$s]->{encd}= $server->{encoding} // "iso-5426"; $s++; } ## while fetch --- a/acqui/z3950_search.pl +++ a/acqui/z3950_search.pl @@ -92,7 +92,7 @@ $template->param( ); if ( $op ne "do_search" ) { - my $sth = $dbh->prepare("select id,host,name,checked from z3950servers where recordtype <> 'authority' order by host"); + my $sth = $dbh->prepare("select id,host,servername,checked from z3950servers where recordtype='biblio' and servertype='zed' order by host"); $sth->execute(); my $serverloop = $sth->fetchall_arrayref( {} ); $template->param( --- a/cataloguing/z3950_auth_search.pl +++ a/cataloguing/z3950_auth_search.pl @@ -64,7 +64,7 @@ $template->param( ); if ( $op ne "do_search" ) { - my $sth = $dbh->prepare("SELECT id,host,name,checked FROM z3950servers WHERE recordtype = 'authority' ORDER BY rank, name"); + my $sth = $dbh->prepare("SELECT id,host,servername,checked FROM z3950servers WHERE recordtype = 'authority' AND servertype='zed' ORDER BY rank, servername"); $sth->execute(); my $serverloop = $sth->fetchall_arrayref( {} ); $template->param( --- a/cataloguing/z3950_search.pl +++ a/cataloguing/z3950_search.pl @@ -73,7 +73,7 @@ $template->param( ); if ( $op ne "do_search" ) { - my $sth = $dbh->prepare("SELECT id,host,name,checked FROM z3950servers WHERE recordtype <> 'authority' ORDER BY rank, name"); + my $sth = $dbh->prepare("SELECT id,host,servername,checked FROM z3950servers WHERE recordtype='biblio' AND servertype='zed' ORDER BY rank, servername"); $sth->execute(); my $serverloop = $sth->fetchall_arrayref( {} ); $template->param( --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt @@ -138,7 +138,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% ELSE %] [% END %] - +

[% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt @@ -136,7 +136,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% ELSE %] [% END %] - +

[% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -137,7 +137,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% ELSE %] [% END %] - +

[% END %] --