X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=cataloguing%2Fz3950_search.pl;h=d3a3c53e191589bce17289453ccb916580112fd0;hb=2b1ffd66bb88d13ac755ad1cb1aa7d86d70dc893;hp=9fc9d686ca7a834b857af9c60e215574e2c03a63;hpb=e201d55c21e39a2d612de017b8969540eded7064;p=koha-ffzg.git diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl index 9fc9d686ca..d3a3c53e19 100755 --- a/cataloguing/z3950_search.pl +++ b/cataloguing/z3950_search.pl @@ -53,7 +53,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ template_name => "cataloguing/z3950_search.tmpl", query => $input, type => "intranet", - authnotrequired => 1, flagsrequired => { catalogue => 1 }, }); @@ -74,7 +73,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,19 +93,19 @@ if ( @id==0 ) { } my $pars= { - random => $input->param('random') || rand(1000000000), biblionumber => $biblionumber, page => $page, id => \@id, isbn => $isbn, + issn => $issn, title => $title, author => $author, dewey => $dewey, subject => $subject, lccall => $lccall, controlnumber => $controlnumber, - stdid => 0, - srchany => 0, + stdid => $stdid, + srchany => $srchany, }; Z3950Search($pars, $template); output_html_with_http_headers $input, $cookie, $template->output;