Created attachment 130195 [details] demo SUMMARY STEPS TO REPRODUCE 1. Edit > Find transactions 2. Set your filter on a category 3. Click find OBSERVED RESULT Transactions found does not respect the filter SOFTWARE/OS VERSIONS xubuntu 20.04
I seem to be getting apparently inconsistent results. With "Current year" and all other filters at default, I get 2469 matching transactions. If I select no categories, I get 303. If I add one category, I get over 1500, and many of these do NOT have that category. As I add categories, I get more transactions, but not necessarily ones using those categories. So it looks like category is having some effect on the search, but not as expected. Additional oddity - selecting zero or one category, the dialog displays the warning that filtering by category will eliminate transfers from the results, but I do have at least one transfer in the matching transactions.
Git commit 56cb798b54e48fca819380e18d9ac5b9b1ab01c7 by Thomas Baumgart. Committed on 26/07/2020 at 07:30. Pushed by tbaumgart into branch 'master'. Include category filter in all cases In some cases, a provided category filter was ignored which caused no filtering at all. FIXED-IN: 5.1.1 (cherry picked from commit 910bc921d824e30ee3347bd465a21c7ad6c446cc) M +17 -8 kmymoney/mymoney/mymoneytransactionfilter.cpp https://invent.kde.org/office/kmymoney/commit/56cb798b54e48fca819380e18d9ac5b9b1ab01c7
Git commit 910bc921d824e30ee3347bd465a21c7ad6c446cc by Thomas Baumgart. Committed on 25/07/2020 at 17:16. Pushed by tbaumgart into branch '5.1'. Include category filter in all cases In some cases, a provided category filter was ignored which caused no filtering at all. FIXED-IN: 5.1.1 M +17 -8 kmymoney/mymoney/mymoneytransactionfilter.cpp https://invent.kde.org/office/kmymoney/commit/910bc921d824e30ee3347bd465a21c7ad6c446cc