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 status page scheduling_forecasting_jobs table sorting #1106

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

nrozanov
Copy link
Contributor

@nrozanov nrozanov commented Jun 21, 2024

Description

Fix status page jobs table sorting - previously it was sorted by the Create-At column, that contains the human-readable text, so "3 minutes ago" was below "An hour ago" and also "36 minutes ago".

Look & Feel

Jobs table is sorted according to job enqueued_at datetime

How to test

Add some jobs so that one of them was added a minute ago and another one - a few minutes ago. Verify that first job is above the second one.

Further Improvements

Related Items


  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

Signed-off-by: Nikolai <nrozanov@iponweb.net>
@nrozanov nrozanov requested a review from nhoening June 21, 2024 18:38
@nrozanov nrozanov linked an issue Jun 21, 2024 that may be closed by this pull request
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Copy link
Contributor

@nhoening nhoening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me thanks!

(I added a changelog entry, which we should do for fixed bugs)

@nhoening nhoening merged commit 28ec8cc into main Jun 21, 2024
9 checks passed
@nhoening nhoening deleted the 1100-order-jobs-status-page branch June 21, 2024 21:34
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.

Order jobs on status page by actual time, not by human-readable text
2 participants