* [PATCH] searchview: add missing newline in search results
@ 2016-07-01 0:31 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-07-01 0:31 UTC (permalink / raw)
To: meta
Hrm... is there a more obvious way to do an internal API for
this while still being streamable?
---
lib/PublicInbox/SearchView.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index d019a0f..ce1eff1 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -191,7 +191,8 @@ sub mset_thread {
}
if ($mime) {
$mime = Email::MIME->new($mime);
- return PublicInbox::View::index_entry($mime, $ctx);
+ return PublicInbox::View::index_entry($mime, $ctx,
+ scalar @$msgs);
}
$msgs = undef;
$skel .= "\n</pre>";
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-01 0:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01 0:31 [PATCH] searchview: add missing newline in search results 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).