summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 574aac3b..67b6d35a 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -420,7 +420,7 @@ void collapse_posts::report_subtotal()
displayed_count++;
}
- if (displayed_count == 1) {
+ if (collapse_depth == 0 && displayed_count == 1) {
item_handler<post_t>::operator()(*last_post);
}
else if (only_collapse_if_zero && ! subtotal.is_zero()) {