web: don't merge different accounts with similar leaf name in postings summary

This commit is contained in:
Simon Michael 2011-07-01 00:48:30 +00:00
parent 29ac7f0d4f
commit 8424caddc6

View File

@ -268,7 +268,7 @@ summarisePostings ps =
where
(tos,froms) = partition (fromMaybe False . isNegativeMixedAmount . pamount) ps
simplifyPostingAccounts = nub . map (accountLeafName . paccount)
simplifyPostingAccounts = map accountLeafName . nub . map paccount
commafy = intercalate ", "
filterTransactionPostings :: Matcher -> Transaction -> Transaction