mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-14 02:14:14 +03:00
roll back additional web-related balance report filtering, breaks tests
This commit is contained in:
parent
595a07704c
commit
9203588d6d
@ -127,9 +127,8 @@ showBalanceReport opts args l = acctsstr ++ totalstr
|
||||
where
|
||||
showacct = showInterestingAccount l interestingaccts
|
||||
interestingaccts = filter (isInteresting opts l) acctnames
|
||||
acctnames = filter (matchpats apats) $ sort $ tail $ flatten $ treemap aname accttree
|
||||
acctnames = sort $ tail $ flatten $ treemap aname accttree
|
||||
accttree = ledgerAccountTree (depthFromOpts opts) l
|
||||
apats = fst $ parseAccountDescriptionArgs opts args
|
||||
totalstr | isZeroMixedAmount total = ""
|
||||
| otherwise = printf "--------------------\n%s\n" $ padleft 20 $ showMixedAmount total
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user