I am using drupal 8.5 and have tried everything people say to get pagination working, but it does not over rest api. I have 2 news articles, and I set the page value to 1 per page. I have tried passing in page as a get parameter but still always returns the first news article.
1 Answer
Ensure that you have the Full Pager enabled on the View. This will enable paging. Right now you’re only telling the view to show one thing.
-
Thank you! You would be amazed how hard it was to track down this answer. Commented Jul 24, 2018 at 13:56
-
Is there a way to dynamically change the items per page number? Commented Jul 24, 2018 at 14:14