]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Feed.pm
favor /t/ to /s/, since subjects may change mid-thread
[public-inbox.git] / lib / PublicInbox / Feed.pm
index 1a89fbad076b94e99d9dcc6517474e0a3a9e079d..5a41beaa48cbdcf15a7cb98ac6463e855a22896a 100644 (file)
@@ -76,7 +76,7 @@ sub generate_html_index {
        $th->order(*PublicInbox::Thread::sort_ts);
 
        # except we sort top-level messages reverse chronologically
-       my $state = [ undef, {}, $first, 0 ];
+       my $state = [ $args->{srch}, {}, $first, 0 ];
        for (PublicInbox::Thread::rsort_ts($th->rootset)) {
                dump_msg($_, 0, \$html, $state)
        }