X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=cataloguing%2Fz3950_search.pl;h=d3a3c53e191589bce17289453ccb916580112fd0;hb=a9ab843118ab4c45734a21b156f8e940542ba0a6;hp=9fc9d686ca7a834b857af9c60e215574e2c03a63;hpb=5d7b5533f1565a55ff269fd82690a71a697901f1;p=koha.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;