note an issue
This commit is contained in:
parent
afa2d065bd
commit
87fc165918
@ -29,6 +29,7 @@ showHistogram opts args l = concatMap (printDayWith countBar) daytxns
|
|||||||
days = filter (DateSpan Nothing Nothing /=) $ splitSpan interval fullspan
|
days = filter (DateSpan Nothing Nothing /=) $ splitSpan interval fullspan
|
||||||
daytxns = [(s, filter (isTransactionInDateSpan s) ts) | s <- days]
|
daytxns = [(s, filter (isTransactionInDateSpan s) ts) | s <- days]
|
||||||
-- same as Register
|
-- same as Register
|
||||||
|
-- should count raw transactions, not posting transactions
|
||||||
ts = sortBy (comparing tdate) $ filterempties $ filter matchapats $ filterdepth $ ledgerTransactions l
|
ts = sortBy (comparing tdate) $ filterempties $ filter matchapats $ filterdepth $ ledgerTransactions l
|
||||||
filterempties
|
filterempties
|
||||||
| Empty `elem` opts = id
|
| Empty `elem` opts = id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user