[turba] sorting browse view
Devin Drown
drown@banzai.org
Tue Oct 15 03:50:18 2002
I guess I answered my own question with a little bit of effort
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');
>
247c251
< $display = new Turba_ListView($results,
TURBA_TEMPLATES . '/browse/contactrow.inc');
---
> $display = new Turba_ListView($sorted_results,
TURBA_TEMPLATES . '/browse/contactrow.inc');
I'm not sure if this is how to submit a patch.
-Devin
Quoting Chuck Hagenbuch <chuck@horde.org>:
> Quoting Devin Drown <drown@banzai.org>:
>
> > Is there a way to force the browse view to sort by last name as well
> > rather than just the full column?
>
> Not sure; a patch would be great, though.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> "People ask me all the time what it will be like living without otters."
> - Google, thanks to Harpers
>
> --
> Turba mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org