Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search function split distinguish issue #1650

Closed
ephemarel opened this issue Feb 12, 2025 · 2 comments
Closed

Search function split distinguish issue #1650

ephemarel opened this issue Feb 12, 2025 · 2 comments
Labels

Comments

@ephemarel
Copy link

It seems that the search function does not distinguish between different split parts of a split transaction.

For instance, if I want to search for just transactions that are in the [apple] category with the {rotten} tag, it will show the following split in that search (because it has the category and the tag, even though the tag does not apply to that category):

Split 10

  • 6 [apple] {fresh}
  • 4 [orange] {rotten}

It didn't include any of these transactions in the dollar amount totals at the top of each date range grouping, but it does include them in the search, and there seems to be no way to exclude them if I only want {rotten} [apple]s. Can this be helped?

Thank you!

@mtotschnig mtotschnig added the bug label Feb 14, 2025
@mtotschnig
Copy link
Owner

@ephemarel Thanks for bringing this up. The reason why the split transaction is included in the result, but not accounted fro in the total, is that the 2 queries behave differently, Transactions are selected based on applying each criterion separately to the splits, whereas for the total the combination of the criteria is applied to each split. It is not trivial to fix this, but I'll try.

@ephemarel
Copy link
Author

Thank you! It's not of utmost importance... As long as they differentiate for the purposes of budgeting, I'll be ok. Though I would love to see this fixed if you're able!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants