diff options
author | Eric Wong <e@80x24.org> | 2016-12-10 01:09:51 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-12-10 03:29:07 +0000 |
commit | 71d0581a309ca83cf3be538141435111db8ed290 (patch) | |
tree | b3e55cbf3ff6d2d8bf91844261fc4ea31ef189f5 /lib/PublicInbox/View.pm | |
parent | c6a8fdf71e2c336f6e591c6f4005c8e922c8f2df (diff) | |
download | public-inbox-71d0581a309ca83cf3be538141435111db8ed290.tar.gz |
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.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index c2e1ae76..ec5f7e0f 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -327,7 +327,7 @@ sub stream_thread ($$) { sub thread_html { my ($ctx) = @_; my $mid = $ctx->{mid}; - my $sres = $ctx->{srch}->get_thread($mid, { asc => 1 }); + my $sres = $ctx->{srch}->get_thread($mid); my $msgs = load_results($sres); my $nr = $sres->{total}; return missing_thread($ctx) if $nr == 0; |