diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-28 02:34:37 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-28 02:34:37 -0600 |
commit | 6adfcc8469e3d526f4bcb0971b49efb490ad6401 (patch) | |
tree | 4185b2ebbd668b7ded2808a9cd8a5edccf39d8bc /src/chain.cc | |
parent | 887f429ae40934c145e03b03cc452e6af4457c0f (diff) | |
download | fork-ledger-6adfcc8469e3d526f4bcb0971b49efb490ad6401.tar.gz fork-ledger-6adfcc8469e3d526f4bcb0971b49efb490ad6401.tar.bz2 fork-ledger-6adfcc8469e3d526f4bcb0971b49efb490ad6401.zip |
Rewrite the way interval reports are generated
Diffstat (limited to 'src/chain.cc')
-rw-r--r-- | src/chain.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chain.cc b/src/chain.cc index 450e3758..61388840 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -217,13 +217,11 @@ post_handler_ptr chain_post_handlers(post_handler_ptr base_handler, // interval_posts groups posts together based on a time period, such as // weekly or monthly. - if (report.HANDLED(period_)) { + if (report.HANDLED(period_)) handler.reset(new interval_posts(handler, expr, report.HANDLER(period_).str(), report.HANDLED(exact), report.HANDLED(empty))); - handler.reset(new sort_posts(handler, "date")); - } if (report.HANDLED(date_)) handler.reset(new transfer_details(handler, transfer_details::SET_DATE, |