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 show-selector for libraries with more than 1k shows #5623

Merged
merged 2 commits into from
Nov 4, 2018

Conversation

sharkykh
Copy link
Contributor

@sharkykh sharkykh commented Nov 4, 2018

Fixes #5240

@sharkykh sharkykh added this to the 0.2.12 milestone Nov 4, 2018
@ghost
Copy link

ghost commented Nov 4, 2018

DeepCode analyzed this pull request.
There are no new issues.

@sharkykh sharkykh changed the title Fix #5240 by bumping up the API pagination limit Fix show-selector for libraries with more than 1k shows Nov 4, 2018
@medariox medariox merged commit 98f23bd into develop Nov 4, 2018
@medariox medariox deleted the feature/bump-api-pagination-limit branch November 4, 2018 20:56
@@ -319,7 +319,7 @@ def _get_page(self):
except ValueError:
self._raise_bad_request_error('Invalid page parameter')

def _get_limit(self, default=20, maximum=1000):
def _get_limit(self, default=20, maximum=10000):
Copy link
Collaborator

Choose a reason for hiding this comment

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

@sharkykh the one problem with this approach that we're now skipping pagination. Maybe we should open an issue about this so we don't forget?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants