diff options
author | Eric Wong <e@80x24.org> | 2015-08-17 02:41:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-17 03:13:31 +0000 |
commit | 07a768b9de068ddd8f7ea17fe242839c77210510 (patch) | |
tree | 4bf88e89385250b1c9a30295fa740a5ed6b0e75d /lib/PublicInbox/WWW.pm | |
parent | faa0459760f4f9b37bd6beba5087eb70d06fd973 (diff) | |
download | public-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.pm | 2 |
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, |