From bd0753101e7eb0512aa8214f0014119651f9c2d1 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 12 Feb 2020 10:48:04 -0800 Subject: [PATCH] bs, cf, is: in csv output, subreport headings had two excess columns --- hledger/Hledger/Cli/CompoundBalanceCommand.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/CompoundBalanceCommand.hs b/hledger/Hledger/Cli/CompoundBalanceCommand.hs index 48794ad17..fb4455cd1 100644 --- a/hledger/Hledger/Cli/CompoundBalanceCommand.hs +++ b/hledger/Hledger/Cli/CompoundBalanceCommand.hs @@ -363,7 +363,7 @@ compoundBalanceReportAsCsv ropts (title, colspans, subreports, (coltotals, grand numcols | null subreports = 1 | otherwise = - (3 +) $ -- account name & indent columns + (1 +) $ -- account name column (if row_total_ ropts then (1+) else id) $ (if average_ ropts then (1+) else id) $ maximum $ -- depends on non-null subreports