From 23f985ebf77543f3ad1025d00ed83f86ff70291c Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Wed, 22 Apr 2015 17:03:38 +0200 Subject: [PATCH] Bug 14047: Order z39.50 biblioservers in cataloguing Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- 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