Skip Navigation

[Resolved] Pagination bug when using AJAX, page reload pagination works fine

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 6 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#1179271
Screen Shot 2019-01-07 at 11.27.25 AM.png
Screen Shot 2019-01-07 at 11.27.32 AM.png
Screen Shot 2019-01-07 at 11.27.40 AM.png
Screen Shot 2019-01-07 at 11.27.17 AM.png

I am trying to: add ajax pagination to a view

Link to a page where the issue can be seen: hidden link

I expected to see: each page should have 5 items

Instead, I got: 1st page 5 items, 2nd page 2 items, 3rd page has 4 but that might be correct, however when going back to the first page after going through page 2 and 3, page 1 will be empty.

#1179422

Sorry I wasn't able to give you a quick fix for this issue. The next step is to try to isolate the problem. Basically we need to deactivate all plugins except Types and Views, and activate the parent Divi theme. You can do that on the live site, or I can create a copy of your site and install it locally to run those tests. If you'd like me to do that, I will need admin access. You can provide those credentials here in the private reply fields.

#1180958

Hi Christian,

I was able to resolve the issue.

The problem was, that a few of the CPT had been set to use Divi Builder as editor, which caused an issue since Divi Builder is being used to build the Content Template for that CPT

Thank you

#1180994

Okay thanks for the update, I'm marking this ticket "resolved".