WordPress.org

Ready to get started?Download WordPress

Forums

ProjectManager
Pagination doesn't work on Date or Numeric fields. (1 post)

  1. ElleRae
    Member
    Posted 3 years ago #

    It seems the pagination, when sorting in descending order by date/numeric (tried both), puts the first page as the second page and so forth. So it orders everything, then paginates backwards. Ascending works fine, descending doesn't.

    You can test this by adding 10 records with dates, set a group of dates (7 of them) to March 30, 2011 - then set another 2 records with a date of March 16, 2011 - then set a final record with a date of March 2, 2011.

    Then set the number of pages per set to 5. Then set the sort by form fields descending. Set the date/numeric to be the order by item.

    Then you'll see that two of the 30th records will show up on the first page, the rest will show up on the second page. They all need to show up on the first page. If you remove the pagination, then they order fine.

    Do you have a fix?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic