s9y / Serendipity

A PHP blog software
https://s9y.org
BSD 3-Clause "New" or "Revised" License
209 stars 88 forks source link

Show older entries & drafts first #845

Closed onli closed 4 months ago

onli commented 4 months ago

I propose this change to the dashboard. The entry box currently shows the newest scheduled entries and drafts first. For future entries, that means the ones which are furthest in the future. As a result, if you have more than the 5 entries shown you you don't see the next upcoming entries anymore. I think this is the wrong way around, at least for scheduled entries: The entries which are closest to the current date (the oldest) are the more useful ones, as is is those that I'd reread or edit first after logging in. This PR changes the entry order accordingly, older drafts and scheduled entries are shown first.

I'm pretty convinced for scheduled entries it's better this way, for drafts I'm less sure. I changed those for consistency. We could also split them up into separate lists.

garvinhicking commented 4 months ago

Good idea! 👍

garvinhicking commented 4 months ago

(Please add a changelog entry to docs/NEWS too 😅)