Bug 384314

Summary: ledger sort option does not work properly
Product: [Applications] kmymoney Reporter: n.cartiaux <bartabbas>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 4.8.5, 5.0.0
Attachments: screen capture with bug effect

Description n.cartiaux 2017-09-03 14:22:25 UTC
Created attachment 107664 [details]
screen capture with bug effect

Hi,

When I change In 'Ledgers' view the sort options to 'reconcile state' at first choice, the positive transactions are not sorted the same way the negative ones.

i.e. negative transactions are in the good area depending their status (no status, cleared, reconciled) 
but positive transactions with no status are in cleared area,
positive transactions with cleared status are in reconciled area.

PS I had the same issue since years on Linux mint 17 or Xubuntu with kmymoney 4.6 versions

see screen capture as attachment
Comment 1 Thomas Baumgart 2017-09-14 09:03:46 UTC
Git commit c0ad878fd320ce62d103cdc873a582c806b9fd8d by Thomas Baumgart.
Committed on 13/09/2017 at 20:51.
Pushed by tbaumgart into branch 'master'.

Fix reverse sort order handling in register
FIXED-IN: 5.0

M  +12   -6    kmymoney/widgets/register.cpp

https://commits.kde.org/kmymoney/c0ad878fd320ce62d103cdc873a582c806b9fd8d
Comment 2 Ralf Habacker 2019-08-24 01:32:54 UTC
Git commit 0ae5377fda351c3d71337bd09d5acfc99dcdb67b by Ralf Habacker.
Committed on 24/08/2019 at 01:30.
Pushed by habacker into branch '4.8'.

Fix reverse sort order handling in register
FIXED-IN: 4.8.5, 5.0.0

(cherry picked from commit c0ad878fd320ce62d103cdc873a582c806b9fd8d)

Conflicts:
	kmymoney/widgets/register.cpp

M  +12   -6    kmymoney/widgets/register.cpp

https://commits.kde.org/kmymoney/0ae5377fda351c3d71337bd09d5acfc99dcdb67b
Comment 3 Ralf Habacker 2019-09-24 20:32:46 UTC
Git commit c0d3df01823db7fe0a6107a84fa7c3d3008a8d1d by Ralf Habacker.
Committed on 24/09/2019 at 20:32.
Pushed by habacker into branch '4.8'.

Correct direction display of symbols in column sort dialog of ledger view

M  +2    -2    kmymoney/widgets/transactionsortoptionimpl.cpp

https://commits.kde.org/kmymoney/c0d3df01823db7fe0a6107a84fa7c3d3008a8d1d