Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Order by bitrate compares strings and not the integer value #220

Closed
extremelf opened this issue Feb 3, 2022 · 1 comment
Closed

Order by bitrate compares strings and not the integer value #220

extremelf opened this issue Feb 3, 2022 · 1 comment
Assignees
Labels
bug Something isn't working gui This issue is related to the Sonixd desktop GUI

Comments

@extremelf
Copy link

Describe the bug
When ordering by bitrate it shows in order compared as string type and by doing so for example we have (169 kbps, 201 kbps and 1000kbps) it will be shown in the order 1000 < 169 < 201 instead of 169 < 201 < 1000

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'songs'
  2. Click on 'bitrate and order ascending'
  3. See error

Expected behavior
The bitrates should be ordered by its integer value as stated in the description of the bug

Screenshots
If applicable, add screenshots to help explain your problem.
2022-02-03_22-41

Desktop (please complete the following information):

  • OS: Linux
  • Version 0.12.0
@extremelf extremelf added the bug Something isn't working label Feb 3, 2022
@jeffvli jeffvli added this to the Release (0.13.0) milestone Feb 4, 2022
@jeffvli jeffvli added the gui This issue is related to the Sonixd desktop GUI label Feb 4, 2022
@jeffvli jeffvli self-assigned this Feb 11, 2022
@jeffvli
Copy link
Owner

jeffvli commented Feb 11, 2022

Thanks for reporting this, accidentally set bitrate as a string.

@jeffvli jeffvli closed this as completed Feb 11, 2022
Repository owner moved this from Todo to Done in Sonixd (Roadmap and Releases) Feb 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working gui This issue is related to the Sonixd desktop GUI
Projects
Development

No branches or pull requests

2 participants