diff options
author | Eric Wong <e@80x24.org> | 2016-07-01 00:20:20 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-01 00:30:30 +0000 |
commit | 4cf3587ec9e6014b0eabc8a3a63e502c0298912d (patch) | |
tree | 0d3a61b3c5088a1cb25df87dd8cadbb8fe99fdf5 /lib/PublicInbox/SearchView.pm | |
parent | 21b7f9f282bd6b877f1da7a9d0169ce958191a34 (diff) | |
download | public-inbox-4cf3587ec9e6014b0eabc8a3a63e502c0298912d.tar.gz |
Hrm... is there a more obvious way to do an internal API for this while still being streamable?
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index d019a0f1..ce1eff1e 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>"; |