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

Qualification Sort Issue #11

Closed
john-tettis opened this issue Jul 26, 2024 · 0 comments · Fixed by #16
Closed

Qualification Sort Issue #11

john-tettis opened this issue Jul 26, 2024 · 0 comments · Fixed by #16
Labels
bug Something isn't working

Comments

@john-tettis
Copy link
Owner

I have a qualification from Nov 2023 on my dashboard. The sort function has placed it at the top, because it only has "Nov 17" and places that to be sooner than "July 20" Even though its Nov 2023 and July 2024.
@ChuckTerry THis is your logic and I will let you modify as needed. Here is a simple fix I came up with:

Use Date.now() to check if a date is in the future. And if it is, it must be from the last year, and hence pushed to the back of the list.

@john-tettis john-tettis added the bug Something isn't working label Jul 26, 2024
john-tettis added a commit that referenced this issue Jul 26, 2024
john-tettis added a commit that referenced this issue Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant