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

Records per_page=100 returns 101 records. #29

Open
douglasbhillsong opened this issue Nov 26, 2019 · 0 comments
Open

Records per_page=100 returns 101 records. #29

douglasbhillsong opened this issue Nov 26, 2019 · 0 comments

Comments

@douglasbhillsong
Copy link

When using Pagination with Records, I'm receiving 1 extra record per page.
If I ask for 100 records per page, I get 101.
E.g. https://churchmetrics.com/api/v1/records.json?page=1&per_page=100
(If I ask for 10, I receive 11.)
Therefore, when I Get page 2, I receive the 101st record a second time, a duplicate record.

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

No branches or pull requests

1 participant