• mprprojects

    (@mprprojects)


    First of all, thanks for the plugin, it works very well.

    I do have one small issue. In one of my AQLs I show five posts per page and use a post offset of 3. The posts are offset correctly but at the end of the pagination sometimes there’s an empty page, depending on the total number of posts.

    For example, if the total number of posts is 18 then the first three are ignored, which leaves 15 posts. Showing five posts per page should give three pages. However, I see four pages, with the fourth one being empty. If there are 19 posts then I (correctly) see four pages with one entry on the last page.

    It looks to me like the same issue as described here (it’s an old post but maybe the solution works for this plugin too).

Viewing 1 replies (of 1 total)
  • Plugin Author Ryan Welcher

    (@welcher)

    Hi there and thanks for using AQL

    Sorry you are running into this issue!

    I don’t know if it makes sense for this plugin to address this issue internally but perhaps I can look at a way to include the fix only if the offset is being used.

    Leave it with me for a bit!

Viewing 1 replies (of 1 total)
  • The topic ‘Post Offset results in empty last page’ is closed to new replies.