-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix it gov request table sort by submission date #2960
base: main
Are you sure you want to change the base?
Conversation
looks good! so we want newest last (and potentially not on first page)? |
EKS Ingress URLs |
@samoddball Thanks for catching that. Looks like it should be the other way around. |
@samoddball Thanks again. Should be good now. |
a: Row<MergedRequestsForTable>, | ||
b: Row<MergedRequestsForTable> | ||
) => { | ||
return (a.original.submissionDate || 'z') > |
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.
Dates are an ISO string so comparing against a 'z' will put undefineds at the end.
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.
interesting! cool solution 😄
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.
🔥
NOREF
Description
Defines sorting for the ITGOV requests table
See https://oddball.slack.com/archives/C06RSLZ4UKF/p1734620705537649
Default sort on Submission Date descending with undefineds listed first
Now: