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

Auto-paging problem in both search_users and search_groups. #1

Open
juli5163 opened this issue Mar 12, 2014 · 0 comments
Open

Auto-paging problem in both search_users and search_groups. #1

juli5163 opened this issue Mar 12, 2014 · 0 comments
Labels

Comments

@juli5163
Copy link

From Witt:

I ran into a bug in portalpy (the Github version), related to auto-paging in search function. If there are more than 100 results, then some bogus things get added to the results.

The fix is to change:

results.extend(resp)
to
results.extend(resp['results'])

@juli5163 juli5163 added the bug label Mar 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant