]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/View.pm
search: always sort thread results in ascending time order
[public-inbox.git] / lib / PublicInbox / View.pm
index c2e1ae76a400aef4395fc77641c23fe37668e3a1..ec5f7e0f162b57359714ac90bd6590fb43728420 100644 (file)
@@ -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;