fix filtering by pattern
This commit is contained in:
		
							parent
							
								
									c5b23c5724
								
							
						
					
					
						commit
						8d91661e23
					
				| @ -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
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								README
									
									
									
									
									
								
							| @ -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 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user