From 7852d967d1982de2c19571b8733ea8273458882b Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 16 Mar 2018 09:02:36 +0100 Subject: [PATCH] Bug 20430: (See also bug 19436) Button display depends on wrong server count This is a QA follow-up of bug 19436, submitted separately for ease of backporting it. (The bug was not raised by 19436.) Obviously, the number of authority servers not biblio servers should be the key factor for showing or hiding the button for new authority records via Z39.50/SRU. Trivial fix. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens --- authorities/authorities-home.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl index f6d3f85a72..89142f22d6 100755 --- a/authorities/authorities-home.pl +++ b/authorities/authorities-home.pl @@ -217,7 +217,7 @@ if ( $op eq '' ) { my $schema = Koha::Database->new()->schema(); my $servers = $schema->resultset('Z3950server')->search( { - recordtype => 'biblio', + recordtype => 'authority', servertype => ['zed', 'sru'], }, { result_class => 'DBIx::Class::ResultClass::HashRefInflator', -- 2.39.5