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

Use "limit" instead of "paginate" for limit parameter. #2417

Merged
merged 1 commit into from
Feb 1, 2015

Conversation

kayue
Copy link
Contributor

@kayue kayue commented Feb 1, 2015

Right now in API, if developer want to change the number of result per page, they have to use "paginate":

http://example.com/products?paginate=10

This PR will change it to default, which is "limit", a more common term for such parameter:

http://example.com/products?limit=10

Reference:

pjedrzejewski pushed a commit that referenced this pull request Feb 1, 2015
Use "limit" instead of "paginate" for limit parameter.
@pjedrzejewski pjedrzejewski merged commit e3b5966 into Sylius:master Feb 1, 2015
@pjedrzejewski
Copy link
Member

Thank you Ka Yue!

@kayue kayue deleted the patch-2 branch February 2, 2015 01:13
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.

None yet

2 participants