projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b7f9f
)
searchview: add missing newline in search results
author
Eric Wong <e@80x24.org>
Fri, 1 Jul 2016 00:20:20 +0000 (
00:20
+0000)
committer
Eric Wong <e@80x24.org>
Fri, 1 Jul 2016 00:30:30 +0000 (
00:30
+0000)
Hrm... is there a more obvious way to do an internal API for
this while still being streamable?
lib/PublicInbox/SearchView.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/SearchView.pm
b/lib/PublicInbox/SearchView.pm
index d019a0f1431d50cb0bbbec8501d55b8bba4a2f29..ce1eff1ed13a11b2981aa65b14a7a925fdff439b 100644
(file)
--- 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>";