Bug 20047: (follow-up) Retrieve only biblio/authority servers as appropriate
[koha_ffzg] / cataloguing / addbooks.pl
index fdbf7c7..253683d 100755 (executable)
@@ -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(