Bug 515355 - Transaction Finder not respecting criteria
Summary: Transaction Finder not respecting criteria
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.2.1
Platform: Appimage Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-31 18:21 UTC by Eleazar
Modified: 2026-01-31 19:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Account Filter Selection (17.01 KB, image/png)
2026-01-31 18:21 UTC, Eleazar
Details
Payee Filter (26.45 KB, image/png)
2026-01-31 18:22 UTC, Eleazar
Details
Results (162.54 KB, image/png)
2026-01-31 18:23 UTC, Eleazar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eleazar 2026-01-31 18:21:29 UTC
Created attachment 189103 [details]
Account Filter Selection

SUMMARY
When performing a transaction search the results given are not following all the selected criteria


STEPS TO REPRODUCE
1. Click on "Find Transaction"
2. Select criteria for search (ex. Account, Dates, Payee, etc)
3. Click on find

OBSERVED RESULT
Results returned only have one criteria applied

EXPECTED RESULT
Results should have all selected criteria applied

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 25.10 (Wayland; kernel 6.17.0.8-generic (64-bit))
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
I noticed it in AppImage version kmymoney-5.2-4959-linux-gcc-x86_64 but I verified with latest version (kmymoney-5.2-5210-linux-gcc-x86_64) and it was still there.

The way I am testing this is I select one account and one payee (see screenshots)  and everything else is defaulted (all options are selected/no extra filters applied) and click on search and in the results I get all transactions that are filtered based on payee. Also, the "Accounts" column show transactions by account and catergories which is confusing.
Comment 1 Eleazar 2026-01-31 18:22:14 UTC
Created attachment 189104 [details]
Payee Filter

Screenshot of payee selection
Comment 2 Eleazar 2026-01-31 18:23:30 UTC
Created attachment 189105 [details]
Results

As you can see in the screenshot, the results are only filtered by payees and account column shows accounts and catergories
Comment 3 Jack 2026-01-31 19:28:55 UTC
Are you aware that internally, Categories are treated by the program as a special type of Account, to it is not surprising the Categories show up in the Account column.
I have changed the component in the bug header, as this is an issue within the ledger code, and is not simply a UI issue.
When providing version numbers, please use what is displayed by Help/About KMyMoney and not just the appimage file name.   The former should provide the commit the build is based on.  The file name includes a sequential build number, but this does not easily convert to a build date.
Now, to your problem - are there any accounts other than Checking included in the results?  I suspect not, and that if you look at the details for any of those rows showing a Category, the transaction IS in the Checking Account.  All the category rows are for the "other" splits of those transactions.  If you look carefully, I suspect the decrease and increase columns show the same amount for adjacent rows - it is just that a row is shown for each split in the transaction, not just one row per transaction.  Off the top of my head, I am not aware of a way to prevent this and only show one row per transaction.