We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
direction
The ApiPaginationListener is responding to the direction query string parameter. E.g.
api.local?direction=asc
Additional info:
limit
sort
page
order
Am I missing something here?
The text was updated successfully, but these errors were encountered:
Have you tried whitelisting direction too?
Sorry, something went wrong.
Yes I did and maybe not worded clearly but limit, sort and page are in the same whitelist array and function as expected.
Just api.local?direction=asc isn't going to work, it needs field name too eg. api.local?sort=some_field&direction=asc
api.local?sort=some_field&direction=asc
Damn, my bad. I somehow thought it "just" worked in 2.x.
Thanks for clarifying, sorry for disturbing.
No branches or pull requests
The ApiPaginationListener is responding to the direction query string parameter. E.g.
Additional info:
limit
,sort
andpage
which do work as expected (all three)order
as wellAm I missing something here?
The text was updated successfully, but these errors were encountered: