diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-09 14:53:29 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-09 14:53:29 -0400 |
commit | 02110394b45fdf4121f00f3484f0caeacb7c404e (patch) | |
tree | 61feecac387c78bbcc7c0b0c894c0b8aa4d26d31 /src/report.cc | |
parent | 3ee3b8f327fa1943dba4ef6043559186b26f86b4 (diff) | |
download | ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.tar.gz ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.tar.bz2 ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.zip |
Use the report's amount_expr everywhere that computes an xact's amount.
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc index 9966a339..96304494 100644 --- a/src/report.cc +++ b/src/report.cc @@ -112,8 +112,8 @@ void report_t::sum_all_accounts() session_xacts_iterator walker(session); pass_down_xacts - (chain_xact_handlers(*this, xact_handler_ptr(new set_account_value), false), - walker); + (chain_xact_handlers(*this, xact_handler_ptr(new set_account_value(expr)), + false), walker); expr.mark_uncompiled(); // recompile, throw away xact_t bindings session.master->calculate_sums(expr); |