wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Process table sorting treats numbers as strings
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 /
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.
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
Related to:
- https://github.com/wazuh/wazuh/issues/12509
We will revisit this in the future.