Skip to content

Commit

Permalink
sorted worlds in public ui
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmiller committed Mar 2, 2023
1 parent 4c136d2 commit 2b2f19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/nginx/www/includes/db_gets.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function getSeed($pdo,$world) {
}

function getMyWorlds($pdo,$citizen) {
$sth = $pdo->query("SELECT name FROM worlds WHERE citizens LIKE '%$citizen%' ORDER BY currentMemory");
$sth = $pdo->query("SELECT name FROM worlds WHERE citizens LIKE '%$citizen%' ORDER BY currentMemory, name ASC");
$result = $sth->fetchAll(PDO::FETCH_COLUMN);
return $result;
}
Expand Down

0 comments on commit 2b2f19e

Please sign in to comment.