Bugzilla – Attachment 39412 Details for
Bug 14047
Sort z39.50 biblio servers by rank in derivate cataloguing doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14047: Order z39.50 biblioservers in cataloguing
Bug-14047-Order-z3950-biblioservers-in-cataloguing.patch (text/plain), 2.00 KB, created by
Jonathan Druart
on 2015-05-22 14:14:19 UTC
(
hide
)
Description:
Bug 14047: Order z39.50 biblioservers in cataloguing
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-05-22 14:14:19 UTC
Size:
2.00 KB
patch
obsolete
>From f1f0618daf5a02af92f2a4609bddefbabe36c0cb Mon Sep 17 00:00:00 2001 >From: Zeno Tajoli <z.tajoli@cineca.it> >Date: Wed, 22 Apr 2015 17:03:38 +0200 >Subject: [PATCH] Bug 14047: Order z39.50 biblioservers in cataloguing > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Bug 14047: Sort z39.50 servers in Acquisition > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Bug 14047: [QA Follow-up] Move result_class back into attributes > >No need to put this into a separate call. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Note that we strictly speaking do not need the hashref inflator here, >because TT understands hash.column as well as object.property. > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > acqui/z3950_search.pl | 4 +++- > cataloguing/z3950_search.pl | 4 +++- > 2 files changed, 6 insertions(+), 2 deletions(-) > >diff --git a/acqui/z3950_search.pl b/acqui/z3950_search.pl >index 9cfd6b3..b11c508 100755 >--- a/acqui/z3950_search.pl >+++ b/acqui/z3950_search.pl >@@ -98,7 +98,9 @@ if ( $op ne "do_search" ) { > recordtype => 'biblio', > servertype => ['zed', 'sru'], > }, >- { result_class => 'DBIx::Class::ResultClass::HashRefInflator' }, >+ { result_class => 'DBIx::Class::ResultClass::HashRefInflator', >+ order_by => ['rank', 'servername'], >+ }, > ); > $template->param( > serverloop => [ $rs->all ], >diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl >index 3ccb755..ebf5cda 100755 >--- a/cataloguing/z3950_search.pl >+++ b/cataloguing/z3950_search.pl >@@ -78,7 +78,9 @@ if ( $op ne "do_search" ) { > recordtype => 'biblio', > servertype => ['zed', 'sru'], > }, >- { result_class => 'DBIx::Class::ResultClass::HashRefInflator' }, >+ { result_class => 'DBIx::Class::ResultClass::HashRefInflator', >+ order_by => ['rank', 'servername'], >+ }, > ); > $template->param( > serverloop => [ $rs->all ], >-- >2.1.0
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 14047
:
38345
|
39214
|
39286
|
39287
|
39288
| 39412