wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Process table sorting treats numbers as strings

Open MauGaP opened this issue 3 years ago • 2 comments

Wazuh Elastic Rev Security
4.2.0 7.10.2 - 7.11.2 4201 Basic, ODFE, Xpack
Browser
Chrome, Firefox, Safari, etc

Description The table that contains the process of an agent treats every numeric value as it were strings when sorting.

Preconditions none

Steps to reproduce "1- navigate to agents / / inventory data 2- scroll down to processes 3- modify the sorting of the columns available"

Expected Result The sorting for string bearing columns arrange strings according to its logical order The sorting for numeric columns arrange numeric values according to its logical order

Actual Result The sorted columns just treat every value as it were strings

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

Additional context Add any other context about the problem here. Here you can paste log entries too or any other useful information that may help with the issue.

MauGaP avatar Aug 24 '21 22:08 MauGaP

Current feedback

  • I have tried to modify the String fields to Number fields
  • I have tried to include dataType to the column fields.
  • Trying to do it with the props provided by EuiBasicTable
  • I am still looking for a possible solution

CPAlejandro avatar Sep 22 '21 14:09 CPAlejandro

Related to:

  • https://github.com/wazuh/wazuh/issues/12509

gdiazlo avatar Aug 10 '22 14:08 gdiazlo

We will revisit this in the future.

gdiazlo avatar Jul 13 '23 13:07 gdiazlo