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

Fix API pagination with search #2

Merged
merged 2 commits into from
Jan 15, 2021
Merged

Conversation

sedan07
Copy link

@sedan07 sedan07 commented Jan 15, 2021

API Search wasn't working with pagination as the page query param ended up in the DB query and as a result it would throw an error. This ensures only query params matching the allowed searchable columns gets through.

@sedan07 sedan07 merged commit 99eb780 into 2.5 Jan 15, 2021
@sedan07 sedan07 deleted the fix-api-pagination-with-search branch February 25, 2021 18:53
@YannickFavre YannickFavre mentioned this pull request Jun 22, 2021
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