[turba] sorting browse view
Devin Drown
drown@banzai.org
Wed Oct 16 04:32:15 2002
> > Here's what I changed in turba/browse.php
> >
> > 245a246,249
> > > $sorted_results = new Turba_List();
> > > $sorted_results->merge($results);
> > > $sorted_results->sort('lastname', null, null, '0');
>
> Is there any reason that you don't just call $results->sort(...)?
>
> -chuck
Well that would be a much shorter solution :)
I got a little lost in all the different places the data was going in the
advanced and regular searches so that's my only excuse.
so as you said simply add the line:
$results->sort('lastname',null,null,'0');
does the job
-Devin