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

[Feature Request] Proper pagination for getJobs #1007

Closed
majidsajadi opened this issue Jan 19, 2022 · 1 comment
Closed

[Feature Request] Proper pagination for getJobs #1007

majidsajadi opened this issue Jan 19, 2022 · 1 comment

Comments

@majidsajadi
Copy link
Contributor

as noted in reference:

getJobs(['completed', 'active'], 0, 4)

may return 10 jobs. 5 for each type. which makes it impossible to list all jobs with proper pagination without considering ‍type.

this feature is needed for a dashboard so we can see an overview of all jobs and their state.

@manast
Copy link
Contributor

manast commented Jan 20, 2022

This is most likely not going to be implemented because the data structures used do not allow for this. In dashboards normally you just show one state at a time and so the pagination works with the current implementation.

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

No branches or pull requests

2 participants