]> Sergey Matveev's repositories - public-inbox.git/commit
search: always sort thread results in ascending time order
authorEric Wong <e@80x24.org>
Sat, 10 Dec 2016 01:09:51 +0000 (01:09 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Dec 2016 03:29:07 +0000 (03:29 +0000)
commit71d0581a309ca83cf3be538141435111db8ed290
treeb3e55cbf3ff6d2d8bf91844261fc4ea31ef189f5
parentc6a8fdf71e2c336f6e591c6f4005c8e922c8f2df
search: always sort thread results in ascending time order

This makes life easier for the threading algorithm, as we can
use the implied ordering of timestamps to avoid temporary ghosts
and resulting container vivication.

This would've also allowed us to hide the bug (in most cases)
fixed by the patch titled "thread: last Reference always wins",
in case that needs to be reverted due to infinite looping.
lib/PublicInbox/Mbox.pm
lib/PublicInbox/Search.pm
lib/PublicInbox/View.pm