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

getDepositions returns always 10 records #5

Closed
eblondel opened this issue Jun 10, 2019 · 1 comment
Closed

getDepositions returns always 10 records #5

eblondel opened this issue Jun 10, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@eblondel
Copy link
Owner

Needs size and page parameters with iteration

@eblondel eblondel added the bug Something isn't working label Jun 10, 2019
@eblondel eblondel self-assigned this Jun 10, 2019
eblondel added a commit that referenced this issue Jun 10, 2019
@eblondel eblondel modified the milestones: 0.2, 0.1 Jun 11, 2019
@eblondel
Copy link
Owner Author

This has been fixed, now the getDepositions is doing a call by page until it get all records. An parameter size is added to getDepositions function with default value to 10, matching the default size number handled by Zenodo API (Elasticsearch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

1 participant