2

I use Views to get Nodes in JSON format via REST service. I can switch the pages with;

http://myside/?q=my/path&page=1

but I want to change the limit of one page like;

http://myside/?q=my/path&limit=100.

Has anybody a good solution or one alternative.

1 Answer 1

4

there is default option in views pager as "EXPOSED OPTIONS" while adding pager to views.

You can add range output.

enter image description here

So you can show per page option. set results using URL argument like http://example.com/path?limit=100

enter image description here

1
  • clever answer :)
    – AKS
    Commented Feb 13, 2013 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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