[turba] Sort AddressBook
Darci Antônio Tartari
dtartari@portoriogrande.com.br
Thu, 25 Jul 2002 14:01:30 -0300
Citando Parag Godkar <paragg@konark.ncst.ernet.in>:
> Following is the mail from the IMP mailing list
> archives from Mr. Eduardo Pinto
> <eep@poingg.com> dated 24-6-2002 which
> shows how to sort the address book by name
> as well as the addresses when accessed from
> the compose window -
>
> Quoting Mr. Eduardo Pinto -
> "So... For those using horde+imp+turba, try this if you want your contacts
> sorted by name, rather than lastname
>
> =======================
> turba/lib/Source.php, line 179
> =======================
> change:
> function search($search_criteria, $sort_criteria = 'lastname', $match =
> null)
> to:
> function search($search_criteria, $sort_criteria = 'name', $match = null)
>
> =======================
> turba/lib/List.php
> =======================
> change:
> function sort($sort = 'lastname', $low = null, $high = null)
> to:
> function sort($sort = 'name', $low = null, $high = null)
>
> =======================
> turba/lib/api.php
> =======================
> change:
> $res = $driver->search($criteria, 'lastname', TURBA_SEARCH_OR);
> to:
> $res = $driver->search($criteria, 'name', TURBA_SEARCH_OR);
> "
>
> Regards,
> Parag Godkar
Thanks for this information ! It helps me a lot !
Here in Brazil, We use to order a name list by the first name. Its been a long
time I am trying to solve this problem.
Now you give me solution... Thanks again !
Bye !
--
Darci Tartari
http://www.portoriogrande.com.br
--------------------------------------------------
Enviado por Webmail do Porto do Rio Grande rodando
software livre IMP 3.1 http://horde.org/imp/