Skip to content

Randomly sorted accounts in picker #129

@ironjan

Description

@ironjan

In the screenshot below the accounts are sorted in a seemingly random manner: they are sorted alphabetically by the deepest account name; capital letters before non-capital. This can result in very weird listings:

Aufwendungen:Lebensmittel:Getränke (Expenses on beverages)
Aktiva:Barvermögen:Giro (my giro account)
Erträge:Zinsen:Girokonto (interest on giro)
Aufwendungen:Versicherungen:Haftpflicht (an insurance)

I'd expect the accounts to be sorted "like a tree"[0] as it is in gnc desktop. In my example this would result in:

Aktiva:Barvermögen:Giro (my giro account)
Aufwendungen:Lebensmittel:Getränke (Expenses on beverages)
Aufwendungen:Versicherungen:Haftpflicht (an insurance)
Erträge:Zinsen:Girokonto (interest on giro)

[0]

  • Aktiva (same level and same subtree as Aufwendungen and Erträge)
    • Barvermögen
      • Giro
  • Aufwendungen
    • Lebensmittel (same level and same subtree as Versicherungen)
      • Getränke
    • Versicherungen
      • Haftpflicht
  • Erträge
    • Zinsen
      • Girokonto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions