Bug 508529

Summary: Sorting Difference Between Equities and Securities
Product: [Applications] kmymoney Reporter: Brendan <KDE>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.2.2
Sentry Crash Report:

Description Brendan 2025-08-20 17:30:49 UTC
Fedora 42, compiled from source, both 5.2 and master branches.

I add [SYMBOL] to the beginning of the names of all stocks that I purchase so that they appear together and at the top of my list of investments. I have well over 100 CD purchases that clutter up the list so this helps me easily find the stocks that I own.

In the Equities sub tab of the Investments tab, this works perfectly.

In the Securities sub tab of the Investments tab, they are all at the bottom of the list.

It appears that a different sorting criteria is used and I prefer Securities sorted the same way as the Equities.
Comment 1 Thomas Baumgart 2025-08-20 19:14:08 UTC
Git commit 3500d912ae3faa2a85710e5cfb1553f3518d8488 by Thomas Baumgart.
Committed on 20/08/2025 at 19:11.
Pushed by tbaumgart into branch 'master'.

Setup sorting of securities to be locale aware
FIXED-IN: 5.2.2

M  +1    -0    kmymoney/views/kinvestmentview.cpp

https://invent.kde.org/office/kmymoney/-/commit/3500d912ae3faa2a85710e5cfb1553f3518d8488
Comment 2 Thomas Baumgart 2025-08-21 09:17:03 UTC
Git commit 25c253c7dc3cbee437ead5e384e7f2ad2990c7e6 by Thomas Baumgart.
Committed on 21/08/2025 at 05:32.
Pushed by tbaumgart into branch '5.2'.

Setup sorting of securities to be locale aware
FIXED-IN: 5.2.2
(cherry picked from commit 3500d912ae3faa2a85710e5cfb1553f3518d8488)

M  +1    -0    kmymoney/views/kinvestmentview.cpp

https://invent.kde.org/office/kmymoney/-/commit/25c253c7dc3cbee437ead5e384e7f2ad2990c7e6
Comment 3 Brendan 2025-08-21 19:31:19 UTC
Hey, what took so long:-)
Comment 4 Thomas Baumgart 2025-08-22 05:50:54 UTC
I had dinner in between :-D