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

Sorting Projects by Execution Window incorrect #229

Open
er4z0r opened this issue Jul 1, 2022 · 2 comments
Open

Sorting Projects by Execution Window incorrect #229

er4z0r opened this issue Jul 1, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@er4z0r
Copy link

er4z0r commented Jul 1, 2022

Describe the bug
The list of projects (/rolodex/projects/) does not correctly sort projects by execution window.

To Reproduce
Steps to reproduce the behavior (assuming you have multiple projects with start dates in different years):

  1. Go to /rolodex/projects/
  2. Select All Projects
  3. Click Filter
  4. Click on the little triangle in the Execution Window column header

Expected Behavior
Projects should be sorted consistently based on the date of the first day of the project. Irrespective of the chosen date format, the projects should be sorted based on year,month and day in that order.

Example:

We are in July 2022 now, so with the following projects

  • Project A starting on 1st May 2022
  • Project B starting on 16th May 2022
  • Project C starting on 1st June 2021
    • Project C starting on 4th June 2020

sort order for most recent to least recent should be:

  • Project B
  • Project A
  • Project C
  • Project D

Screenshots
project-sorting-censored

As you can see the start dates are all over the place 2021 before 2022 , 2020 before 2021 before 2022 again.

Server Specs:

  • OS: Ubuntu 20.04 LTS
  • Docker version 20.10.17, build 100c701, Docker Compose version v2.4.1
  • Ghostwriter v3.0.0, released 22 June 2022
@er4z0r er4z0r added the bug Something isn't working label Jul 1, 2022
@chrismaddalena
Copy link
Collaborator

Thanks for bringing this into an issue, @er4z0r. The screenshot helps a lot. I'm now wondering if the jQuery TableSorter has an issue with the German abbreviations. With all English month abbreviations, the sorting looks good on my end. I need to do some testing with other locales.

It might be time to look for a better solution than TableSorter.

Copy link

github-actions bot commented Jul 2, 2024

This issue has been labeled as stale because it has been open for 30 days with no activity.

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

No branches or pull requests

2 participants