Skip to content

Sorting not working if "Service" is null #438

@n3cr0cr0w

Description

@n3cr0cr0w

Version

5.4.3

Details & Steps to reproduce

Import an account that doesn't have a "Service" set. Try to sort AtoZ or ZtoA.

Expectation

Sorting should work even if service is null.

Error & Logs

The errors where on normalize() and localeCompare() functions when "Service" was null.

Execution environment

userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Version: 5.4.3
Environment: local
Install path: /2fauth
Debug: false
Cache driver: file
Log channel: daily
Log level: debug
DB driver: sqlite
PHP version: 8.3.15
Operating system: Linux
interface: apache2handler
Auth guard: web-guard
webauthn user verification: preferred
Trusted proxies: none
lastRadarScan: 2024-12-30 18:49:47

Containerization

  • Docker

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedThe issue is fixed (in a coming release)

    Projects

    Status

    Released

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions