sort order fixed

This commit is contained in:
surrim 2020-03-11 02:04:35 +01:00
parent 71a1e0839b
commit d30bb5cb02

View file

@ -42,7 +42,7 @@
JOIN {$serendipity['dbPrefix']}permalinks p ON (p.entry_id = e.id AND p.type = 'entry')
JOIN {$serendipity['dbPrefix']}authors a ON a.authorid = e.authorid
WHERE e.isdraft = 'false' $andFutureCondition
ORDER BY p.permalink",
ORDER BY e.timestamp",
false, 'assoc'
) as $row) {
$entries[$row['id']] = [