summaryrefslogtreecommitdiff
path: root/src/chain.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-18 23:24:53 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-18 23:25:28 -0500
commitae8b57f15785f0fbe300e7d6d2b709b4730556d1 (patch)
treeb0650b21331300e3e5eecf6185b70721b8f792b2 /src/chain.cc
parent56d6df6123d84abe408e16fcecd7a7600eb33055 (diff)
downloadfork-ledger-ae8b57f15785f0fbe300e7d6d2b709b4730556d1.tar.gz
fork-ledger-ae8b57f15785f0fbe300e7d6d2b709b4730556d1.tar.bz2
fork-ledger-ae8b57f15785f0fbe300e7d6d2b709b4730556d1.zip
Renamed bool controlling running total calculations
It used to be "account_wise", since it only happens for non-account-wise reports. Now it's called just "calc_running_total", so anyone can request it.
Diffstat (limited to 'src/chain.cc')
-rw-r--r--src/chain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chain.cc b/src/chain.cc
index 479f9812..06bcdf27 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -95,7 +95,7 @@ post_handler_ptr chain_post_handlers(report_t& report,
// calc_posts computes the running total. When this appears will determine,
// for example, whether filtered posts are included or excluded from the
// running total.
- handler.reset(new calc_posts(handler, expr));
+ handler.reset(new calc_posts(handler, expr, ! for_accounts_report));
// filter_posts will only pass through posts matching the
// `secondary_predicate'.