about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-05-31 09:14:45 +0000
committerEric Wong <e@80x24.org>2023-05-31 23:22:30 +0000
commit229eb7b5c603821591da787cd0ec6eeb88ebc96d (patch)
tree45679724ff059b63c222f60d5178821acd4eb0f3 /lib/PublicInbox/SearchView.pm
parent5ef68bbe5fc73580bc600b2046658d03f91c1f7d (diff)
downloadpublic-inbox-229eb7b5c603821591da787cd0ec6eeb88ebc96d.tar.gz
Non-matching messages in the skeleton aren't rendered on
the same page.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r--lib/PublicInbox/SearchView.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 10a1ce40..8f851738 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -302,9 +302,9 @@ sub mset_thread {
         my $rootset = PublicInbox::SearchThread::thread($msgs,
                 $r ? \&sort_relevance : \&PublicInbox::View::sort_ds,
                 $ctx);
-        my $skel = search_nav_bot($ctx, $mset, $q).
-                "<pre>-- links below jump to the message on this page --\n";
-
+        my $skel = search_nav_bot($ctx, $mset, $q).'<pre>'. <<EOM;
+-- pct% links below jump to the message on this page, permalinks otherwise --
+EOM
         $ctx->{-upfx} = '';
         $ctx->{anchor_idx} = 1;
         $ctx->{cur_level} = 0;