register: fix tag: matching all sibling postings

This commit is contained in:
Simon Michael 2014-03-05 14:43:58 -08:00
parent 856f62b465
commit 712e6f1e36

View File

@ -145,7 +145,7 @@ postingCleared p = if pstatus p
-- | Tags for this posting including any inherited from its parent transaction.
postingAllTags :: Posting -> [Tag]
postingAllTags p = ptags p ++ maybe [] transactionAllTags (ptransaction p)
postingAllTags p = ptags p ++ maybe [] ttags (ptransaction p)
-- | Tags for this transaction including any from its postings.
transactionAllTags :: Transaction -> [Tag]