diff --git a/hledger/Hledger/Cli/Utils.hs b/hledger/Hledger/Cli/Utils.hs index aebd8fbfd..4498307af 100644 --- a/hledger/Hledger/Cli/Utils.hs +++ b/hledger/Hledger/Cli/Utils.hs @@ -91,7 +91,7 @@ pivot tag j = j{jtxns = map pivotTrans . jtxns $ j} where pivotTrans t = t{tpostings = map pivotPosting . tpostings $ t} 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 where tagTuple = find ((tag ==) . fst) . postingAllImplicitTags $ p