diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-09 00:57:56 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-09 00:57:56 -0400 |
commit | 391300aea29a755e20a60774be662e4ebd361b66 (patch) | |
tree | c493107dd2ac3c2d3c6a90fe5149b591b106e537 /src/chain.cc | |
parent | 90bba2a808fef9179c81d59eeb8b03a52e223de4 (diff) | |
download | fork-ledger-391300aea29a755e20a60774be662e4ebd361b66.tar.gz fork-ledger-391300aea29a755e20a60774be662e4ebd361b66.tar.bz2 fork-ledger-391300aea29a755e20a60774be662e4ebd361b66.zip |
Had to step back from a change that was breaking regular reports.
Diffstat (limited to 'src/chain.cc')
-rw-r--r-- | src/chain.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chain.cc b/src/chain.cc index 4c33b4de..c953366a 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -61,7 +61,9 @@ xact_handler_ptr chain_xact_handlers(report_t& report, // determine, for example, whether filtered xacts are included or excluded // from the running total. assert(report.HANDLED(amount_)); - handler.reset(new calc_xacts(handler, report.HANDLER(amount_).expr)); + expr_t& expr(report.HANDLER(amount_).expr); + expr.set_context(&report); + handler.reset(new calc_xacts(handler, expr)); // filter_xacts will only pass through xacts matching the // `secondary_predicate'. |