Skip to content

Commit

Permalink
Show older entries & drafts first
Browse files Browse the repository at this point in the history
  • Loading branch information
onli committed Jul 12, 2024
1 parent 71f2c2d commit 85e64ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/admin/overview.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
(int)$serendipity['dashboardEntriesLimit'],
true,
false,
'timestamp DESC',
'timestamp ASC',
'e.timestamp >= ' . serendipity_serverOffsetHour() . $efilter
);

Expand All @@ -124,7 +124,7 @@
(int)$serendipity['dashboardEntriesLimit'] - $entriesAmount,
true,
false,
'timestamp DESC',
'timestamp ASC',
"isdraft = 'true' AND e.timestamp <= " . serendipity_serverOffsetHour() . $efilter
);
if (is_array($entries) && is_array($drafts)) {
Expand Down

0 comments on commit 85e64ba

Please sign in to comment.