1

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.

Items per page set to 1

No matter what value I change page to, it is always first 1

1

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. – Pete Nelson Jul 24 '18 at 13:56
  • Is there a way to dynamically change the items per page number? – Pete Nelson Jul 24 '18 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.