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);
--
unsubscribe: meta+unsubscr...@public-inbox.org
archive: https://public-inbox.org/meta/

Reply via email to