diff options
author | John Wiegley <johnw@newartisans.com> | 2010-02-02 16:25:31 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-02-02 16:25:31 -0500 |
commit | b76aea7c0be2a36fb24c7c2bb3a8c0af80709609 (patch) | |
tree | ea37eade3036491342222f2900fa25fe0ff2f245 | |
parent | 0be486c58b1cb40f898e3504b6b80b4a0462145b (diff) | |
download | fork-ledger-b76aea7c0be2a36fb24c7c2bb3a8c0af80709609.tar.gz fork-ledger-b76aea7c0be2a36fb24c7c2bb3a8c0af80709609.tar.bz2 fork-ledger-b76aea7c0be2a36fb24c7c2bb3a8c0af80709609.zip |
Added a debug statement for report.predicate
-rw-r--r-- | src/report.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc index 2d9d7cc6..ea02d14f 100644 --- a/src/report.cc +++ b/src/report.cc @@ -293,12 +293,15 @@ void report_t::accounts_report(acct_handler_ptr handler) sort_expr, HANDLED(flat))); } - if (HANDLED(display_)) + if (HANDLED(display_)) { + DEBUG("report.predicate", + "Display predicate = " << HANDLER(display_).str()); pass_down_accounts(handler, *iter.get(), predicate_t(HANDLER(display_).str(), what_to_keep()), *this); - else + } else { pass_down_accounts(handler, *iter.get()); + } session.journal->clear_xdata(); } |