about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-17 02:41:10 +0000
committerEric Wong <e@80x24.org>2015-08-17 03:13:31 +0000
commit07a768b9de068ddd8f7ea17fe242839c77210510 (patch)
tree4bf88e89385250b1c9a30295fa740a5ed6b0e75d /lib/PublicInbox/Feed.pm
parentfaa0459760f4f9b37bd6beba5087eb70d06fd973 (diff)
downloadpublic-inbox-07a768b9de068ddd8f7ea17fe242839c77210510.tar.gz
/t/ always falls back to subject path searching anyways,
so there's little lost besides perhaps more readable URLs.
Unfortunately people still use non-compliant mail clients which fail
to set In-Reply-To or References headers :<
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 1a89fbad..5a41beaa 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -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)
         }