user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 2/2] searchview: clarify that only pct% links are same page
  2023-05-31  9:14  4% [PATCH 0/2] searchview: minor wording tweaks Eric Wong
@ 2023-05-31  9:14  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-05-31  9:14 UTC (permalink / raw)
  To: meta

Non-matching messages in the skeleton aren't rendered on
the same page.
---
 lib/PublicInbox/SearchView.pm | 6 +++---
 1 file 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;

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] searchview: minor wording tweaks
@ 2023-05-31  9:14  4% Eric Wong
  2023-05-31  9:14  7% ` [PATCH 2/2] searchview: clarify that only pct% links are same page Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-05-31  9:14 UTC (permalink / raw)
  To: meta

Eric Wong (2):
  searchview: fix 80-column violation for "above" link
  searchview: clarify that only pct% links are same page

 lib/PublicInbox/SearchView.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

^ permalink raw reply	[relevance 4%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-05-31  9:14  4% [PATCH 0/2] searchview: minor wording tweaks Eric Wong
2023-05-31  9:14  7% ` [PATCH 2/2] searchview: clarify that only pct% links are same page Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).