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

Clean the params when using get() #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Clean the params when using get() #9

wants to merge 1 commit into from

Conversation

iCaspar
Copy link

@iCaspar iCaspar commented Mar 31, 2017

Partially addresses issue #5

Reversing the order of the array_marge() on L:962 works for straight pagination, but if you start with a count=true parameter, that gets stuck in there so that none of the subsequent calls to any method involving get() continues to return the count. This solution assumes that you're looking to get something different every time, so clean out all the params you set and leave it like you found it for the next call.

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.

1 participant