improvement getAllContentList
Closed this issue · 3 comments
Page
https://github.com/diverta/front_next_media/blob/main/src/app/article/%5Bid%5D/page.jsx
https://github.com/diverta/front_next_media/blob/main/src/fetch/getAllContentList.js
About
I think the page will not be generated when more than 1000 articles data are registered.
Can you check logic and update to a way to generate all articles using a loop by pageID?
@VortexExpansion
200 contents per page and support paging (pageID=2, pageID=3 ...)
I have currently set the pageLimit as 200
per page on the admin panel with pagination.
But since the current no. of contents are only 34
, to show a working example, I have tried it with 10
per page.
You can confirm the behaviour here. https://diverta.gyazo.com/428842c3303c2bcf9bd49fc9c8f21a51
@VortexExpansion
Thank you!
https://diverta.gyazo.com/428842c3303c2bcf9bd49fc9c8f21a51 is looks good.
I will wait Abe-san's review.