cli: don't add the tag name/field name as prefix
This commit is contained in:
parent
27d727ffad
commit
80827321c4
@ -91,7 +91,7 @@ pivot tag j = j{jtxns = map pivotTrans . jtxns $ j}
|
|||||||
where
|
where
|
||||||
pivotTrans t = t{tpostings = map pivotPosting . tpostings $ t}
|
pivotTrans t = t{tpostings = map pivotPosting . tpostings $ t}
|
||||||
pivotPosting p
|
pivotPosting p
|
||||||
| Just (_ , value) <- tagTuple = p{paccount = joinAccountNames tag value, porigin = Just $ originalPosting p}
|
| Just (_ , value) <- tagTuple = p{paccount = value, porigin = Just $ originalPosting p}
|
||||||
| _ <- tagTuple = p
|
| _ <- tagTuple = p
|
||||||
where tagTuple = find ((tag ==) . fst) . postingAllImplicitTags $ p
|
where tagTuple = find ((tag ==) . fst) . postingAllImplicitTags $ p
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user