summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.cc3
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)