summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/filters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 3e481139..574aac3b 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -475,7 +475,7 @@ value_t& collapse_posts::find_totals(account_t* account)
if (collapse_depth == 0)
return totals[_("<Total>")];
- if (account->depth == collapse_depth)
+ if (account->depth <= collapse_depth)
return totals[account->fullname()];
//else recurse