This project is read-only.

Next/Previous posts not in correct order

Jun 24, 2008 at 12:07 AM
The next/previous article links that appear on the Post pages are not in the correct order.  They seem to be in the order in which the posts were published, but they should be in the published date order.

If you publish a post in the far future, then publish a post in the near future, the first post will have a "next" post of the 2nd post whereas it should be the other way around (from a reader's point of view).

Jun 24, 2008 at 8:38 AM
On updating a post, the Posts cache where re-sorted, but the relations in each Post (next and previous links) are not updated. So, it's possible when you play with date when saving some posts, the next and previous links of the posts are messy.

Just wait until the next application restart to see the whole things got renewed from the persistent store. Everything then will be ordered correctly automagically.

Agus Suhanto