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

Default limit of 200 jobs #15

Merged
merged 2 commits into from
Apr 4, 2016
Merged

Default limit of 200 jobs #15

merged 2 commits into from
Apr 4, 2016

Conversation

joeframbach
Copy link
Member

No description provided.

@@ -163,6 +163,8 @@ module.exports = function (agenda, options) {
var postMatch = {}
if (state) postMatch[state] = true

var limit = 200 // todo UI param
Copy link
Contributor

Choose a reason for hiding this comment

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

lets add skip as well, so that can be user for pagination later. Ex:

skip 0 limit 200 = 1st page
skip 200 limit 200 = 2nd page
skip 400 limit 200 = 3rd page.

We just need to wire from UI controls.

@joeframbach joeframbach merged commit fb65012 into master Apr 4, 2016
@joeframbach joeframbach deleted the limit-200 branch April 4, 2016 18:57
simison pushed a commit that referenced this pull request Jan 16, 2021
Add prism.js to improve metadata syntax highlight
Fixes #14 
Fixes #15
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