From bfa6a643a1317515e10cca2170463f941e6d0f10 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Feb 2009 20:59:13 -0400 Subject: Improved handling of --empty option For example, in period reports null transactions are only generated for empty periods if --empty is used. Otherwise, the presence of such transactions can get confusing. --- src/chain.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/chain.cc') diff --git a/src/chain.cc b/src/chain.cc index baf92f64..c8cbf673 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -113,7 +113,8 @@ xact_handler_ptr chain_xact_handlers(report_t& report, if (report.HANDLED(period_)) { handler.reset(new interval_xacts(handler, expr, report.HANDLER(period_).str(), - report.session.master.get())); + report.session.master.get(), + report.HANDLED(empty))); handler.reset(new sort_xacts(handler, "date")); } -- cgit v1.2.3