Hi,
I have an issue with the Post Pagination element which I cannot resolve. The screenshot hopefully shows the issue.
The screenshot shows the Archive Layout called “Casualty Search Results”. The previous page has the search filter. The issue seems to be the same whether filters are used or not.
For example, on the Casualties page (accessible through the main menu link), if I filter by “All Conflicts” and click “Search”, 307 results are displayed on pages with 50 results per page. Therefore, page 7 of the results shows the final 7 results. However, the pagination carries on to 100.
Similarly, if I use no filters and click “Search” to see all results, the pagination also shows 100, even though there should be around 350 pages in total.
I think I have the layout set up correctly - no looper provider; looper consumer on column 1 (labelled “Post” in the Outline structure in the screenshot. Post Pagination sits in column 2 and remains at 100, irrespective if column 2’s looper consumer is switched on or off.
Have I done anything wrong, or is the problem caused by something else?
Thanks,
Christopher