use Koha::Authority::Types;
use Koha::Token;
+use Koha::Z3950Servers;
our ($tagslib);
build_tabs ($template, $record, $dbh,"",$query);
+my $servers = Koha::Z3950Servers->search(
+ {
+ recordtype => 'authority',
+ servertype => ['zed', 'sru'],
+ },
+);
+
my $type = $authority_types->find($authtypecode);
$template->param(
authid => $authid,
authtypecode => $authtypecode,
authority_types => $authority_types,
csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $query->cookie('CGISESSID') }),
+ servers => $servers,
);
$template->{VARS}->{marcflavour} = C4::Context->preference("marcflavour");