Skip to content

Respect posting tag overrides#2587

Open
Wheezily wants to merge 1 commit into
simonmichael:mainfrom
Wheezily:bounty/posting-tag-overrides-transaction-tag
Open

Respect posting tag overrides#2587
Wheezily wants to merge 1 commit into
simonmichael:mainfrom
Wheezily:bounty/posting-tag-overrides-transaction-tag

Conversation

@Wheezily

Copy link
Copy Markdown

Fixes #1950.

Posting tag matching now treats explicitly set posting tags as overriding inherited transaction tags with the same name. Same-level repeated tag values are still kept; only inherited same-name tags are filtered out.

Validation:

  • cabal test hledger-lib:unittest -j1 --test-options='--pattern=override' in haskell:9.8
  • cabal test hledger-lib:unittest -j1 --test-options='--pattern=Query' in haskell:9.8
  • cabal test hledger-lib:unittest -j1 in haskell:9.8
  • git diff --check

@simonmichael

Copy link
Copy Markdown
Owner

Thanks for the PR, I have responded on #1950.

@simonmichael simonmichael added the journal The journal file format, and its features. label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

journal The journal file format, and its features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inherited Tag Values are not Overwritten [💰$20 for 100% human contributions]

2 participants