Jump to content
vxda

Problem with getting /page1000 with ajax request

Recommended Posts

Hi guys, im building vuejs page which connects to my processwire website.
Ajax call goes to api/rest/item-list/page[number]. Its all working fine if the page im requesting is not larger then 3 digit. 

so api/rest/item-list/page999 works fine, but as soon as i want to get api/rest/item-list/page1000 and over i get 404. The funny thing is that when im checking url in the browser tab im getting correct results.

What can be the issue here?

Thanks.

Share this post


Link to post
Share on other sites

Yes. There is a pagination limit of 999 pages. You can configure it to go beyond that (with caution).

In /site/config.php/

$config->maxPageNum = 1500;// set your limit here

 

http://processwire.com/api/ref/config/

Edited by kongondo
  • Like 5

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...