- $template->param(delete_confirm => 1);
- my $dbh = C4::Context->dbh;
-
- my $sth2=$dbh->prepare("select host,port,db,userid,password,name,id,checked,rank,syntax,encoding,timeout from z3950servers where (name = ?) order by rank,name");
- $sth2->execute($searchfield);
- my $data=$sth2->fetchrow_hashref;
- $sth2->finish;
-
- $template->param(host => $data->{'host'},
- port => $data->{'port'},
- db => $data->{'db'},
- userid => $data->{'userid'},
- password => $data->{'password'},
- checked => $data->{'checked'},
- rank => $data->{'rank'},
- syntax => $data->{'syntax'},
- timeout => $data->{'timeout'},
- encoding => $data->{'encoding'} );
+ $template->param( delete_confirm => 1 );
+ my $dbh = C4::Context->dbh;
+
+ my $sth2 = $dbh->prepare(
+"select host,port,db,userid,password,name,id,checked,rank,syntax,encoding,timeout,recordtype from z3950servers where (name = ?) order by rank,name"
+ );
+ $sth2->execute($searchfield);
+ my $data = $sth2->fetchrow_hashref;
+ $sth2->finish;
+
+ $template->param(
+ host => $data->{'host'},
+ port => $data->{'port'},
+ db => $data->{'db'},
+ userid => $data->{'userid'},
+ password => $data->{'password'},
+ checked => $data->{'checked'},
+ rank => $data->{'rank'},
+ syntax => $data->{'syntax'},
+ timeout => $data->{'timeout'},
+ recordtype => $data->{'recordtype'},
+ encoding => $data->{'encoding'}
+ );