diff options
-rw-r--r-- | src/filters.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc index f7321438..2b4fe1bf 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -473,6 +473,10 @@ void collapse_posts::report_subtotal() value_t& collapse_posts::find_totals(account_t* account) { unsigned short depth=3; + + if(depth==0) + return totals[_("<Total>")]; + if(account->depth==depth) return totals[account->fullname()]; |