diff options
author | Eric Wong <e@80x24.org> | 2015-12-02 02:28:01 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-02 02:38:32 +0000 |
commit | 494131d2c857995c773c6b879abf0c5cad3f5a50 (patch) | |
tree | 9de3a32be0925e750fe644ded663c058be70800e /lib | |
parent | 49d9b3080695e79033a246a2087ca33939a0c4ce (diff) | |
download | public-inbox-494131d2c857995c773c6b879abf0c5cad3f5a50.tar.gz |
Unlinked threads with similar (but not identical) subjects could be hidden as a result.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/View.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 15d846a6..a3a955b2 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -817,7 +817,9 @@ sub add_topic { $topic = $subj; # kill "[PATCH v2]" etc. for summarization - $topic =~ s/\A\s*\[[^\]]+\]\s*//g; + unless ($level == 0) { + $topic =~ s/\A\s*\[[^\]]+\]\s*//g; + } $topic = substr($topic, 0, 30); if (++$state->{subjs}->{$topic} == 1) { |