Permalink
Browse files

restored sort-order on a single archive-page: from top to bottom = fr…

…om newest to oldest
  • Loading branch information...
onli committed May 22, 2012
1 parent a0689ae commit c5716186893d449133ed4ece56dc318e8f63bcbe
Showing with 2 additions and 1 deletion.
  1. +2 −1 include/genpage.inc.php
View
@@ -130,10 +130,11 @@
// Welcome screen or whatever
default:
echo "default";
if (! isset($serendipity['GET']['page']) || $serendipity['archiveSortStable'] === false) {
serendipity_printEntries(serendipity_fetchEntries(null, true, $serendipity['fetchLimit']));
} else {
serendipity_printEntries(serendipity_fetchEntries(null, true, $serendipity['fetchLimit'], false, false, 'timestamp ASC'));
serendipity_printEntries(array_reverse(serendipity_fetchEntries(null, true, $serendipity['fetchLimit'], false, false, 'timestamp ASC')));
}
break;
}

0 comments on commit c571618

Please sign in to comment.