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

Fix order of judgings on submission page. #2225

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

meisterT
Copy link
Member

Found while looking at #2191, see this comment:
#2191 (comment)

Previously, we treated the start time as higher priority indicator than the judgingId for sorting the rows. For submissions that are queued we don't have a starttime yet, so they show up first.

Now, the order is purely by judgingid. For one specific submission, the starttime of judgings should always be in order of their judgingid so this change should be a no-op otherwise.

Found while looking at DOMjudge#2191, see this comment:
DOMjudge#2191 (comment)

Previously, we treated the start time as higher priority indicator than
the judgingId for sorting the rows. For submissions that are queued we
don't have a starttime yet, so they show up first.

Now, the order is purely by judgingid. For one specific submission,
the starttime of judgings should always be in order of their judgingid
so this change should be a no-op otherwise.
@meisterT meisterT enabled auto-merge November 23, 2023 15:21
@meisterT meisterT added this pull request to the merge queue Nov 23, 2023
Merged via the queue into DOMjudge:main with commit 7112ab3 Nov 23, 2023
18 checks passed
@meisterT meisterT deleted the judgings_order branch November 23, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants