diff options
author | Eric Wong <e@80x24.org> | 2015-08-25 02:03:16 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-25 03:52:54 +0000 |
commit | 73214b02e581ef0a037d85a1ae37ff425654d7b3 (patch) | |
tree | fee5c604b688369e877b1294543701bb2c29b4b4 /lib/PublicInbox/SearchMsg.pm | |
parent | 42359e39a591dcf68ce02a5fc2dd703ba68f0f77 (diff) | |
download | public-inbox-73214b02e581ef0a037d85a1ae37ff425654d7b3.tar.gz |
We ought to summarize subjects to avoid exploding line lengths in the web interface.
Diffstat (limited to 'lib/PublicInbox/SearchMsg.pm')
-rw-r--r-- | lib/PublicInbox/SearchMsg.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/SearchMsg.pm index a8f99bd5..a9f3180b 100644 --- a/lib/PublicInbox/SearchMsg.pm +++ b/lib/PublicInbox/SearchMsg.pm @@ -94,9 +94,8 @@ sub date { sub to_doc_data { my ($self) = @_; - $self->mid . "\n" . - $self->subject . "\n" . + PublicInbox::Search::subject_summary($self->subject) . "\n" . $self->from_name . "\n". $self->date . "\n" . $self->references_sorted; |