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>
This commit is contained in:
Nick Clemens 2018-04-17 12:05:29 +00:00 committed by Jonathan Druart
parent 23d4233658
commit fe5f6c8efd
2 changed files with 6 additions and 4 deletions

View File

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

View File

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