diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl index 878c8d0bd5..3f400722c3 100755 --- a/authorities/authorities-home.pl +++ b/authorities/authorities-home.pl @@ -211,9 +211,6 @@ my $servers = Koha::Z3950Servers->search( recordtype => 'authority', servertype => ['zed', 'sru'], }, - { result_class => 'DBIx::Class::ResultClass::HashRefInflator', - order_by => ['rank', 'servername'], - }, ); $template->param( diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index fdbf7c7b39..253683db1d 100755 --- a/cataloguing/addbooks.pl +++ b/cataloguing/addbooks.pl @@ -134,7 +134,12 @@ for my $resultsbr (@resultsbr) { }; } -my $servers = Koha::Z3950Servers->search(); +my $servers = Koha::Z3950Servers->search( + { + recordtype => 'biblio', + servertype => ['zed','sru'], + } +); my $frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] }); $template->param(