From: Paul POULAIN Date: Tue, 30 Oct 2007 18:02:42 +0000 (-0500) Subject: authority ordering in cataloguing / search authority X-Git-Tag: v3.00.00-alpha~1178 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=50e759fdee7c8b864b8d0452d057f2c879fc02fe;p=koha.git authority ordering in cataloguing / search authority Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index 2ba7584505..ba12b29ace 100755 --- a/authorities/auth_finder.pl +++ b/authorities/auth_finder.pl @@ -60,6 +60,7 @@ if ( $op eq "do_search" ) { my @excluding = $query->param('excluding'); my @operator = $query->param('operator'); my @value = $query->param('value'); + my $orderby = $query->param('orderby'); $resultsperpage = $query->param('resultsperpage'); $resultsperpage = 19 if ( !defined $resultsperpage ); @@ -67,7 +68,7 @@ if ( $op eq "do_search" ) { my ( $results, $total ) = SearchAuthorities( \@marclist, \@and_or, \@excluding, \@operator, \@value, $startfrom * $resultsperpage, - $resultsperpage, $authtypecode ); # $orderby); + $resultsperpage, $authtypecode, $orderby); # multi page display gestion my $displaynext = 0; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tmpl index 45482e1d5f..20e7fd963b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/auth_finder.tmpl @@ -63,7 +63,7 @@

Sort by