Bugzilla – Attachment 74406 Details for
Bug 20047
Add Z3950Server Object and use it for getting server count
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20047: (follow-up) Retrieve only biblio/authority servers as appropriate
Bug-20047-follow-up-Retrieve-only-biblioauthority-.patch (text/plain), 1.41 KB, created by
Katrin Fischer
on 2018-04-18 06:14:14 UTC
(
hide
)
Description:
Bug 20047: (follow-up) Retrieve only biblio/authority servers as appropriate
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-04-18 06:14:14 UTC
Size:
1.41 KB
patch
obsolete
>From d83a065b93533a21d87ce9afe0e30417db8ee3d4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 17 Apr 2018 12:05:29 +0000 >Subject: [PATCH] Bug 20047: (follow-up) Retrieve only biblio/authority servers > as appropriate > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > authorities/authorities-home.pl | 3 --- > cataloguing/addbooks.pl | 7 ++++++- > 2 files changed, 6 insertions(+), 4 deletions(-) > >diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl >index 878c8d0..3f40072 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 fdbf7c7..253683d 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( >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20047
:
70756
|
70829
|
72681
|
74316
|
74317
|
74405
| 74406