fix filtering by pattern

This commit is contained in:
Simon Michael 2008-10-03 03:15:51 +00:00
parent c5b23c5724
commit 8d91661e23
2 changed files with 2 additions and 4 deletions

View File

@ -68,7 +68,7 @@ cacheLedger l pats =
(Map.fromList [(a,nullamt) | a <- ans]) (Map.fromList [(a,nullamt) | a <- ans])
amap = Map.fromList [(a, Account a (tmap ! a) (bmap ! a)) | a <- ans] amap = Map.fromList [(a, Account a (tmap ! a) (bmap ! a)) | a <- ans]
in in
Ledger l' ant amap lprecision Ledger l'' ant amap lprecision
-- | keep only entries whose description matches one of the -- | keep only entries whose description matches one of the
-- description patterns, if any, and which have at least one -- description patterns, if any, and which have at least one

4
README
View File

@ -30,7 +30,5 @@ possible, see the ledger manual for more info:
Bugs: Bugs:
* register transactions should be filtered when account patterns are provided
* register shows $ when it's not in ledger
* filtered balance reports should show a total * filtered balance reports should show a total
* filtered balance reports should show the full account names * register uses $ when no currency is specified