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

[BUG] - Percentage columns are sorted in lexicographic order instead of numeric order #193

Closed
dmkoch opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels

Comments

@dmkoch
Copy link

dmkoch commented Jan 11, 2024

READ BEFORE OPENING AN ISSUE
Before you submit an issue please try to reset elasticvue and see if you can reproduce the problem.
To reset please click Disconnect and reset in the footer, this will reset all your saved filters and you have to reconnect to your cluster.
Proceed and open an issue if your problem persists.

Description
Percentage columns are sorted in lexicographic order instead of numeric order

Steps To Reproduce
List the steps to reproduce your problem:

  1. Open elasticvue
  2. Click on any of the columns with a percentage value to sort the column.
  3. Notice that 9% is sorted as greater that 64% in the attached screenshot.

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2024-01-11 at 5 03 01 PM

Environment (please include the following information):

  • Elasticsearch version: 8.11.3
  • Operating system: MacOS 13.6.3
  • Browser + version: Chrome 120.0.6099.129
  • Elasticvue version: 1.0.2-stable
  • How are you running elasticvue? (docker, browser extension, web app): browser extension

Additional context
Anything else?

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

No branches or pull requests

2 participants