[kmymoney] [Bug 322926] Increase flexibility of ledger sorting order, keeping correct balance column

Ralf Habacker bugzilla_noreply at kde.org
Sat Feb 29 17:42:50 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=322926

--- Comment #14 from Ralf Habacker <ralf.habacker at freenet.de> ---
> The resulting balance is always the same 

>Jack wrote: However, the balance column is always created from top to bottom,

Adding the balance column there is

ascending date sort order  
date       amount  balance
23.11.2018  -50    -50
01.01.2019 -100   -100
29.02.2020 -333   -483
          balance:-483 

This looks correct if I expect the balance column to be calculated by adding
the individual amounts from top to bottom.

descending date sort order 
date       amount  balance
29.02.2020 -333   -333
01.01.2019 -100   -433
23.11.2018  -50   -483
          balance:-483

This looks correct if I expect the balance column to be calculated by adding
the individual amounts from top to bottom.

But it does not look correct if I expect that the values in the balance column
will not change and which is shown as mentioned below.

date       amount  balance
29.02.2020 -333   -483
01.01.2019 -100   -150
23.11.2018  -50    -50
          balance:-483

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list