Commit d801b027 authored by David Morley's avatar David Morley

sort for the andriod app

parent 68c0e995
......@@ -58,7 +58,7 @@ echo ']';
echo '}';
} else {
$i=0;
$sql = "SELECT * FROM pods WHERE hidden <> 'yes'";
$sql = "SELECT * FROM pods WHERE hidden <> 'yes' ORDER BY Hgitdate DESC, uptimelast7 DESC";
$result = pg_query($dbh, $sql);
if (!$result) {
die("Error in SQL query: " . pg_last_error());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment