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

Sort nodes by free cru #2692

Merged
merged 1 commit into from
May 14, 2024
Merged

Sort nodes by free cru #2692

merged 1 commit into from
May 14, 2024

Conversation

samaradel
Copy link
Contributor

@samaradel samaradel commented May 13, 2024

Description

Sort nodes in Node Finder by free CRU

Changes

before

Screencast.from.13-05-24.13.53.41.webm

after

Screencast.from.13-05-24.13.17.16.webm

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

Copy link
Contributor

@Mahmoud-Emad Mahmoud-Emad left a comment

Choose a reason for hiding this comment

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

Good job ya Samar

sortBy: SortBy.Status,
sortOrder: SortOrder.Asc,
sortBy: SortBy.FreeCRU,
sortOrder: SortOrder.Desc,
Copy link
Contributor

Choose a reason for hiding this comment

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

It was Asc why we changed it to Desc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Asc takes the nodes with small free cores in the first etc node with ID 11 which we don't need.

@samaradel samaradel merged commit 277ef40 into development May 14, 2024
3 checks passed
@samaradel samaradel deleted the development_free_cru branch May 14, 2024 08:17
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.

3 participants