vxda Posted January 30, 2018 Share Posted January 30, 2018 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. Link to comment Share on other sites More sharing options...
kongondo Posted January 30, 2018 Share Posted January 30, 2018 (edited) 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 January 30, 2018 by kongondo 5 Link to comment Share on other sites More sharing options...
vxda Posted January 30, 2018 Author Share Posted January 30, 2018 oh, thank you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now