* [PATCH] searchview: show result count in thread index, for now
@ 2016-06-30 10:34 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-06-30 10:34 UTC (permalink / raw)
To: meta
I'm not sure what to show here, actually; but it's better
than triggering an uninitialized variable warning.
---
lib/PublicInbox/SearchView.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 30a310c..d019a0f 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -176,6 +176,7 @@ sub mset_thread {
$ctx->{prev_attr} = '';
$ctx->{prev_level} = 0;
$ctx->{seen} = {};
+ $ctx->{s_nr} = scalar(@m).'+ results';
PublicInbox::View::walk_thread($th, $ctx,
*PublicInbox::View::pre_thread);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-30 10:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-30 10:34 [PATCH] searchview: show result count in thread index, for now Eric Wong
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).