about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/View.pm2
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;
         }