Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

float number format with '0.00' sort in the wrong way #5288

Open
frostynova opened this issue Nov 26, 2020 · 3 comments
Open

float number format with '0.00' sort in the wrong way #5288

frostynova opened this issue Nov 26, 2020 · 3 comments

Comments

@frostynova
Copy link

Issue Summary

float number format with '0.00' sort in the wrong way

Steps to Reproduce

  1. create a query with a float column
  2. edit visualization, set its 'number format' to '0.00'
  3. press the column sort button, the result is not in the number order

Technical details:

  • Redash Version: v9.0.0-beta
  • Browser/OS: Chrome 85.0 / Centos 8.2
  • How did you install Redash: from github
@kravets-levko
Copy link
Collaborator

Hi @frostynova! Can you please share a screenshot with visualization with a bug, and sample of raw data? Also, if possible, try to reproduce this issue on our preview instance: https://redash-preview.netlify.app/ (it's built from latest master). Thanks!

@frostynova
Copy link
Author

@kravets-levko it is a 'table' visualization

image

image

the 'order_price' column should be in descending order, but actually not

@kravets-levko
Copy link
Collaborator

Hm, looks like it's sorted using formatted string instead of raw values. @rafawendel can you please take a look? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants