[imp] Sort by Thread Patch

Michael Cochrane mike@graftonhall.co.nz
Wed, 23 Jan 2002 12:59:52 +0000


As I said, it's a quick go at it.. 

Side Effect / Bug:
The hide deleted preference is ignored as there's no way to tell imap_thread 
what flags you want. I guess each message could be checked before being added 
into the $sorted array but this seems like a huge cost.

Workaround for another issue:
Sort by subject order is used by in a search result when sort by thread is 
selected as there is no way to sort search results into thread order.

- Mike

Quoting Atif Ghaffar <aghaffar@developer.ch>:

> Mike++
> 
> Very cool.
> 
> 
> 
> Michael Cochrane wrote:
> 
> > Here's a quick go at a Sort By Thread patch.
> > 
> > http://www.graftonhall.co.nz/mikes/Horde%20Diffs/Sort%20By%20Thread/Head/
> > 
> > It adds a 'Sort by Thread' as a sort option in preferences and addes a
> 'Sort By
> > Thread' option to the action bar
> > 
> > There's an image there, of what it looks like to. The patch is for the
> HEAD
> > version only.
> > 
> > - Mike
> > 
> > 
> > 
> > 
> 
> 
> 
> -- 
> Atif Ghaffar
> ---------------------------.
>            +41 78 845 31 64 ¦ mobile
>            +41 21 351 53 62 ¦ fax
>      http://atifghaffar.com ¦ www
> 
> 
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
>