summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h
index cb89f965..809d0f5b 100644
--- a/src/report.h
+++ b/src/report.h
@@ -250,8 +250,9 @@ public:
OPTION(report_t, code_as_payee);
OPTION_(report_t, collapse, DO() { // -n
- // Make sure that balance reports are collapsed too
- parent->HANDLER(display_).append("depth<=1");
+ // Make sure that balance reports are collapsed too, but only apply it
+ // to account entries
+ parent->HANDLER(display_).append("xact|depth<=1");
});
OPTION_(report_t, collapse_if_zero, DO() {