Skip to content
Discussion options

You must be logged in to vote

Hi @DavidOliver, I've been able to recreate the problem. It appears limit is set to 0 by default on the request to the Api made by Payload.

Request: GET /api/draft-posts/versions?locale=en&depth=1&where%5Bparent%5D%5Bequals%5D=638e620497a5b55f0214a1b2 HTTP/1.1

Response: {"docs":[],"totalDocs":11,"limit":0,"totalPages":1,"page":1,"pagingCounter":1,"hasPrevPage":false,"hasNextPage":false,"prevPage":null,"nextPage":null}

If you change the pagination limit "Per page: 10" or append ?limit=10 you should see it working.

I'm going to open an issue off the back of your discussion for the Payload team to look at.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@DavidOliver
Comment options

@JarrodMFlesch
Comment options

Answer selected by DavidOliver
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants