-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
hi,
based on this bundle https://unpkg.com/fetch-paginate@6.1.0/bundle.js the page query parameter isnt incrementing right. this is my code:
fetchOptions = {
// ...
}
fetchPaginate.default('---URL---', {
fetchOptions: fetchOptions,
getItems: function (body) {
return body.rows
},
params: true,
page: 0,
})the first request got the query param page=0, the second also and the third one got page=2. so the second page with page=1 is never called. bug?
regards,
volker.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfesthelp wantedExtra attention is neededExtra attention is needed