From c9d575abceb672d1c23383d973adee40daeecda8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 10 Aug 2008 00:57:29 -0400 Subject: Basic balance reports are working again! --- src/report.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/report.cc') 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(); } -- cgit v1.2.3