Changes for my own site

This commit is contained in:
Michael Erdely 2024-10-08 22:44:19 -04:00
parent 381628e571
commit e601540c38
7 changed files with 33 additions and 21 deletions

View file

@ -256,7 +256,7 @@ while ($row = $stmt->fetch()) {
$categories[] = $row;
}
$stmt = $smarty->dbh()->prepare("SELECT ranking, title FROM {$opt["table_prefix"]}ranks ORDER BY rankorder");
$stmt = $smarty->dbh()->prepare("SELECT ranking, title FROM {$opt["table_prefix"]}ranks ORDER BY rankorder DESC");
$stmt->execute();
$ranks = array();
while ($row = $stmt->fetch()) {