From 0bee95572e9115d250bb8847b7052fd0951438ff Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Fri, 15 May 2015 16:51:53 +0200 Subject: [PATCH] Bug 14047: Sort z39.50 servers in Acquisition Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- acqui/z3950_search.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acqui/z3950_search.pl b/acqui/z3950_search.pl index 9cfd6b3..f0cdb81 100755 --- a/acqui/z3950_search.pl +++ b/acqui/z3950_search.pl @@ -98,8 +98,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