From 4ff467429242ec7e18158de7ed203f13761e9dcf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 8 Feb 2016 18:11:54 +0000 Subject: view: fix link to top-level ghost parent In an single-message thread with a ghost parent, we need to go up level from the current Message-ID before appending the parent message to us. --- lib/PublicInbox/View.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index fc877b7c..8af51adf 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -471,7 +471,7 @@ sub thread_inline { if ($nr <= 1) { if (defined $parent) { $$dst .= "($expand)\n "; - $$dst .= ghost_parent($upfx, $parent) . "\n"; + $$dst .= ghost_parent("$upfx../", $parent) . "\n"; } else { $$dst .= "[no followups, yet] ($expand)\n"; } -- cgit v1.2.3-24-ge0c7