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
Unexpected space added to Category filter when Regex is used to include multiple sub categories #5392
Comments
Fixed in PR #5398 |
Now it does. |
Thanks @n-stein, unfortunately the problem still persists in the latest build after your change.
and my delimiter is The filter works initially but then it gets saved with an extra space Causing the report to not work: |
Which build did you test? You need to test 5928. Build 5929 contains a fix for a different issue, doesn't contain this code fix. Here: https://ci.appveyor.com/project/moneymanagerex/moneymanagerex/builds/45583834 |
Thanks @n-stein, that did the trick. Confirmed working now! |
MMEX version:
I have a category named "Home Projects" with multiple sub-categories. I wanted to create a report that would show the "Porch 2021" and "Porch 2022" subcategories only. I also have some transactions categorized directly under "Home Projects" only that I do not want to include and have other sub categories, so the "Include all sub-categories" checkbox doesn't meet my needs.
So I created (and saved) the following transaction filter and it worked perfectly:
However the next time I ran the filter, no transactions were displayed. Upon looking closer, I discovered an extra space was added after the : delimiter when I ran or opened the filter:
I also confirmed this in the database (after saving):
My current workaround is to use this Regex which avoids the category delimiter and there is no issue. This works but I thought I would share incase others are impacted by this behavior
Reproduction
Is the bug reproducible?
Also see #5391
The text was updated successfully, but these errors were encountered: