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

Newest on top Support as option #185

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@ibrahim12
Copy link

commented Jul 4, 2019

  • Adds options to show newest jobs at the top.

Options to set

RQ_DASHBOARD_JOB_SORT_ORDER='-age'
Adds settings for enable show jobs on reverse order, update list jobs…
… route to support reverse order offset, changes in template text

@ibrahim12 ibrahim12 force-pushed the ibrahim12:option_show_jobs_on_reverse_order branch from 9f84c08 to 95a286b Jul 4, 2019

@@ -19,3 +19,5 @@
DEBUG = False
RQ_DASHBOARD_WEB_BACKGROUND = "black"
RQ_DASHBOARD_DELETE_JOBS = False

RQ_DASHBOARD_JOB_SORT_ORDER = '-age'

This comment has been minimized.

Copy link
@eoranged

eoranged Jul 10, 2019

Owner

This looks a little bit confusing: we providing option to choose sorting order, but actually support only sorting by age.
I have plans to redesign the part which is responsible for fetching and displaying list of jobs, workers, etc.

This comment has been minimized.

Copy link
@ibrahim12

ibrahim12 Jul 10, 2019

Author

We can change the key name if you have any better suggestion, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.