Browse Source

Bug 20047: (follow-up) Retrieve only biblio/authority servers as appropriate

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
Nick Clemens 3 years ago
committed by Jonathan Druart
parent
commit
fe5f6c8efd
  1. 3
      authorities/authorities-home.pl
  2. 7
      cataloguing/addbooks.pl

3
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(

7
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(

Loading…
Cancel
Save