diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-10 00:57:29 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-10 00:57:29 -0400 |
commit | c9d575abceb672d1c23383d973adee40daeecda8 (patch) | |
tree | dea80d45787359712e582cc7bf5d700a4419ec30 /src/report.cc | |
parent | 65510c9a9f0d588a8d0285072dfc2e2a153e5253 (diff) | |
download | fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.tar.gz fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.tar.bz2 fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.zip |
Basic balance reports are working again!
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc index 92f20d4f..03b519ab 100644 --- a/src/report.cc +++ b/src/report.cc @@ -207,7 +207,7 @@ report_t::chain_xact_handlers(xact_handler_ptr base_handler, // to appear as entries with a subtotaled xact for each // commodity used. if (show_collapsed) - handler.reset(new collapse_xacts(handler)); + handler.reset(new collapse_xacts(handler, session)); // subtotal_xacts combines all the xacts it receives // into one subtotal entry, which has one xact for each @@ -327,7 +327,6 @@ void report_t::sum_all_accounts() pass_down_xacts (chain_xact_handlers(xact_handler_ptr(new set_account_value), false), walker); - // no flush() needed with set_account_value session.master->calculate_sums(); } |