about summary refs log tree commit homepage
path: root/lib/PublicInbox/WWW.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/WWW.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/WWW.pm')
-rw-r--r--lib/PublicInbox/WWW.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index bbd438a2..50215095 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -126,8 +126,10 @@ sub get_atom {
 sub get_index {
         my ($ctx, $cgi, $top) = @_;
         require PublicInbox::Feed;
+        my $srch = searcher($ctx);
         [ 200, [ 'Content-Type' => 'text/html; charset=UTF-8' ],
           [ PublicInbox::Feed->generate_html_index({
+                        srch => $srch,
                         git_dir => $ctx->{git_dir},
                         listname => $ctx->{listname},
                         pi_config => $pi_config,