From 6adfcc8469e3d526f4bcb0971b49efb490ad6401 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 28 Feb 2012 02:34:37 -0600 Subject: Rewrite the way interval reports are generated --- src/chain.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/chain.cc') 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, -- cgit v1.2.3