Skip to content

Commit

Permalink
bs, cf, is: in csv output, subreport headings had two excess columns
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Feb 12, 2020
1 parent 7359fdd commit bd07531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hledger/Hledger/Cli/CompoundBalanceCommand.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd07531

Please sign in to comment.