-
Notifications
You must be signed in to change notification settings - Fork 189
StaticDataTable mixed column types sorting #9120
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
StaticDataTable mixed column types sorting #9120
Conversation
maximemulder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the code, here is my review. I also strongly suggest moving this code to its own function/method to isolate the logic from the rest of the code.
maximemulder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments but I won't block on that.
|
@maximemulder Thanks for the review :) |
|
Sorry, missed that this was ready to go because i've mostly been looking at the release issues. |
Brief summary of changes
When mixing numbers with strings in an instrument field value (e.g. text field) results in a DQT column that has a sorting issues. This happened for a "summary" instrument in HBCD project that import results from multiple other instruments. This instrument has to clearly display the value of the field (i.e. numeric) or "No data" (i.e. string).
Testing instructions (if applicable)
Link(s) to related issue(s)
Linked to HBCD#1652