Skip Navigation

[Resolved] AJAX Pagination wipes out ordering

This support ticket is created 6 years, 6 months 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#950432

Hi, I'm using Views to display a list of media hits for a client. I have the list ordered by the value in a custom field. I'm using AJAX pagination to break up the items. The pagination settings are in the filer

On initial load, the order is fine. But when I load a second, third, fourth page, etc. it wipes the order and reverts to ordering the items by the date the posts was created.

Is there way to fix this using the native Toolset settings or will I have to write a callback function to reorder the list each time a new page is loaded?

#950522

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Roy,

Thank you for contacting our support forum.

This should still work even with the pagination.

Would you mind temporarily disable all the non-toolset plugins and try again?

Thanks,
Shane