Bug 513464 - Provide multi key sorting in schedules view
Summary: Provide multi key sorting in schedules view
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: git (master)
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-17 03:09 UTC by Tcpsorcerer
Modified: 2025-12-17 07:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tcpsorcerer 2025-12-17 03:09:17 UTC
SUMMARY
In the Schedule screen sorting by (Type/Name ASC) then by (date ASC)  is not persistent

STEPS TO REPRODUCE
1. In schedule screen, sort by (Type/Name ASC) then by (date ASC) , the order is: Bills, Deposits, Loans, Transfers
2. Close program
3. Open program, goto schedule screen and the sort order is: Bills, Deposits, Transfers, Loans

OBSERVED RESULT
Order not respected - it is : Bills, Deposits, Transfers, Loans instead of: Bills, Deposits, Loans, Transfers

EXPECTED RESULT
Bills, Deposits, Loans, Transfers

SOFTWARE/OS VERSIONS
Windows: Yes
macOS: N/A
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
Linux Mint: Yes

ADDITIONAL INFORMATION
Hopefully not a user error :D
Comment 1 Thomas Baumgart 2025-12-17 07:23:44 UTC
The current implementation is based on the standard QSortFilterProxyModel sorting behavior which is based on a single sort key (column). Providing the sort behavior that is requested requires to implement a behavior that allows to support sorting based on multiple keys (columns) as available for the ledger sort (see Settings/Ledger/Sorting). I change this to wish list item and modify the title to reflect this.