diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-31 15:13:04 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-31 15:13:04 -0600 |
commit | df0edbd2dc416281bffb1fc519aaa3532496d045 (patch) | |
tree | afa079116b7dcb30fbb70cfbaaf24af027cd27ce | |
parent | 654c842348c570a086f31cb79b7b3b4810463707 (diff) | |
download | fork-ledger-df0edbd2dc416281bffb1fc519aaa3532496d045.tar.gz fork-ledger-df0edbd2dc416281bffb1fc519aaa3532496d045.tar.bz2 fork-ledger-df0edbd2dc416281bffb1fc519aaa3532496d045.zip |
Minor optimization
-rw-r--r-- | src/report.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc index dcb56319..90de9a3f 100644 --- a/src/report.cc +++ b/src/report.cc @@ -303,7 +303,8 @@ void report_t::posts_report(post_handler_ptr handler) journal_posts_iterator walker(*session.journal.get()); pass_down_posts(handler, walker); - session.journal->clear_xdata(); + if (! HANDLED(group_by_)) + posts_flusher(*this, handler)(value_t()); } void report_t::generate_report(post_handler_ptr handler) |