I am trying to output custom posts by custom field last name. When using non-ajax pagination, the order remains correct beyond the first page:
hidden link so that they are ordered by last name, but when using ajax pagination, the first page is ordered correctly by last name but when you click next or previous the order goes haywire: hidden link and the order of the names seem random. In addition, there are duplicate instances of one post.
THERE IS AN HTACCESS USERNAME AND PASSWORD
USER: demo
PASSWORD: minnow
I believe this is the view in question: hidden link
Hi, let's try these two steps first.
1. Uncheck "Don't include current page in query result" unless this View will be shown on a single Investigator post. Having this box checked can lead to unexpected results if it's not necessary.
2. This View's Query Filters seem to be disconnected from its filter controls. On the non-staging URL, click the page 2 navigation link. The resulting URL is:
hidden link
When I click the page 2 navigation link on staging, you can see that the 4 filter criteria URL parameters are not shown in the URL:
hidden link
This indicates a problem in the Query Filters. Sometimes it happens when migrating between environments or when duplicating other Views. To solve the problem, delete the filters from the Query Filter and from the Search and Pagination editor. Then recreate them by inserting the filters in the Search and Pagination editor panel.
Let me know the results and we can go from there.