From 712e6f1e36aa03c21a07d73d7b89dcf5d9dcc886 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 5 Mar 2014 14:43:58 -0800 Subject: [PATCH] register: fix tag: matching all sibling postings --- hledger-lib/Hledger/Data/Posting.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Data/Posting.hs b/hledger-lib/Hledger/Data/Posting.hs index 986b0fccd..5aa7a2915 100644 --- a/hledger-lib/Hledger/Data/Posting.hs +++ b/hledger-lib/Hledger/Data/Posting.hs @@ -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]