diff options
author | Eric Wong <e@80x24.org> | 2015-09-16 10:05:13 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-16 10:05:13 +0000 |
commit | 62ee3cb36dd08f17e444e96dc80108464ee10cba (patch) | |
tree | 85365a58ac566938bd9052ee85addc3c37566c80 /lib | |
parent | 2998655db7fce5c7d9714a89f4a7cb54419bc757 (diff) | |
download | public-inbox-62ee3cb36dd08f17e444e96dc80108464ee10cba.tar.gz |
The thread root is usually the most important, and should be displayed in full.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 65bc2f81..9ca4a6a4 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -117,7 +117,7 @@ sub index_entry { my $mhref = "${path}$href/"; # show full message if it's our root message - if ($root_anchor ne $id) { + if ($root_anchor ne $id || ($level != 0 && !$ctx->{flat})) { $fhref = "${path}$href/f/"; $more_ref = \$more; } |