X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=cataloguing%2Fz3950_search.pl;h=a754c4536118828d58f5823cea8c300fbd580d6c;hb=54616c37e25b969907f9da2cf021e7e23ced836c;hp=425a6c17f1854c0b75b25d457d67af58c7bdff17;hpb=1af20347f180b734758d0822c6a7ee4baa10dfe3;p=koha.git diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl index 425a6c17f1..a754c45361 100755 --- a/cataloguing/z3950_search.pl +++ b/cataloguing/z3950_search.pl @@ -20,7 +20,7 @@ use strict; use warnings; -use CGI qw( -utf8 ); +use CGI; use C4::Auth; use C4::Output; @@ -74,7 +74,7 @@ $template->param( ); if ( $op ne "do_search" ) { - my $sth = $dbh->prepare("SELECT id,host,name,checked FROM z3950servers ORDER BY rank, name"); + my $sth = $dbh->prepare("SELECT id,host,name,checked FROM z3950servers WHERE recordtype <> 'authority' ORDER BY rank, name"); $sth->execute(); my $serverloop = $sth->fetchall_arrayref( {} ); $template->param( @@ -94,7 +94,6 @@ if ( @id==0 ) { } my $pars= { - random => $input->param('random') || rand(1000000000), biblionumber => $biblionumber, page => $page, id => \@id,