diff options
author | Eric Wong <e@80x24.org> | 2015-09-02 02:37:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-02 06:50:20 +0000 |
commit | 5f3cef806f38dfd7f44d203923051f2ce5f4499a (patch) | |
tree | e64c497d010bc8612302f7e9da5403c8c7a91df6 /lib/PublicInbox/WWW.pm | |
parent | e5f6e07f935e6f81469415d21c0189cd60040247 (diff) | |
download | public-inbox-5f3cef806f38dfd7f44d203923051f2ce5f4499a.tar.gz |
For still-active threads, it will likely be easier to follow them chronologically, especially if we have links to parent messages.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r-- | lib/PublicInbox/WWW.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index d666a1b7..9ae7f7be 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -46,6 +46,9 @@ sub run { invalid_list_mid(\%ctx, $1, $2) || get_thread_mbox(\%ctx, $sfx); } elsif ($path_info =~ m!$LISTNAME_RE/$MID_RE/t\.atom\z!o) { invalid_list_mid(\%ctx, $1, $2) || get_thread_atom(\%ctx); + } elsif ($path_info =~ m!$LISTNAME_RE/$MID_RE/T/\z!o) { + $ctx{flat} = 1; + invalid_list_mid(\%ctx, $1, $2) || get_thread(\%ctx); # single-message pages } elsif ($path_info =~ m!$LISTNAME_RE/$MID_RE/\z!o) { |