GnuCash
Contact   Instructions
Bug 797768 - View Lots > Sort By Balance, Sort By Amount and Sort By Value sorts alphabetically instead of numerically
Summary: View Lots > Sort By Balance, Sort By Amount and Sort By Value sorts alphabeti...
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: User Interface General (show other bugs)
Version: 3.10
Hardware: PC All
: Normal normal
Target Milestone: ---
Assignee: ui
QA Contact: ui
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-24 08:24 EDT by daniel.korner
Modified: 2020-05-27 09:47 EDT (History)
4 users (show)

See Also:


Attachments

Description daniel.korner 2020-05-24 08:24:06 EDT
Steps to Reproduce:

  1. Create a new account. 

  2. Add some transactions (e.g. 100, 10, 12, 200, 20, -20, -30, -250). 

  3. Go to View Lots and order splits free transactions by Amount or Value.
     Excepted order: -250, -30, -20, 10, 12, 20, 100, 200 
     Found order: -20, -250, -30, 10, 100, 12, 20, 200

  4. Create a lot and add all transactions to the lot. Then order the splits in 
     lot by Amount or Value. The transactions are again ordered alphabetically.

  5. Remove all transactions from the lot and create for each transaction a lot 
     and then add each transaction to a single lot. Then sort the lots by balance. 
     The lots are also ordered alphabetically.

I could reproduce the behavior on the Void Linux GNUCash Build 3.10+(2020-04-11) and on the official Windows GNUCash Build 3.10+(2020-04-11).
Comment 1 Bob 2020-05-25 12:35:23 EDT
Will have a look at this.
Comment 2 Bob 2020-05-27 09:47:13 EDT
This is fixed and will be in version 4.0, thank you for the report.

Note You need to log in before you can comment on or make changes to this bug.