Bugzilla – Attachment 38345 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]
Patch for sorting z39.50 servers
0001-BUG-14047-Insert-the-instruction-order_by-into-DBIx-.patch (text/plain), 981 bytes, created by
Zeno Tajoli
on 2015-04-22 15:15:02 UTC
(
hide
)
Description:
Patch for sorting z39.50 servers
Filename:
MIME Type:
Creator:
Zeno Tajoli
Created:
2015-04-22 15:15:02 UTC
Size:
981 bytes
patch
obsolete
>From 950299930c5b596a64b3cf827234ffc5ea0e1b36 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: Insert the instruction 'order_by' into DBIx query > for biblio z39.50 server in cataloguing > >--- > cataloguing/z3950_search.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl >index 3ccb755..6a9b750 100755 >--- a/cataloguing/z3950_search.pl >+++ b/cataloguing/z3950_search.pl >@@ -78,8 +78,9 @@ if ( $op ne "do_search" ) { > recordtype => 'biblio', > servertype => ['zed', 'sru'], > }, >- { result_class => 'DBIx::Class::ResultClass::HashRefInflator' }, >+ { order_by => ['rank', 'servername'],}, > ); >+ $rs->result_class('DBIx::Class::ResultClass::HashRefInflator'); > $template->param( > serverloop => [ $rs->all ], > opsearch => "search", >-- >1.7.10.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 14047
:
38345
|
39214
|
39286
|
39287
|
39288
|
39412