By default, the patron search was pulling results in *Descending* order, then reordering the results on the page using javascript in *Ascending* order.
This was causing screwy results where the entire list of results of multiple pages was not in complete alphabetical order. Fixed by changing the SQL to pull in Ascending order. --- members/member.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/members/member.pl b/members/member.pl index 700f200..58485b6 100755 --- a/members/member.pl +++ b/members/member.pl @@ -80,7 +80,7 @@ if ($orderbyparams){ push @orderby, {$orderbyelt[0]=>$orderbyelt[1]||0}; } else { - @orderby = ({firstname=>1},{surname=>1}); + @orderby = ({surname=>0},{firstname=>0}); } $member =~ s/,//g; #remove any commas from search string -- 1.5.6.5 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches