mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
change order, showing newest first
This commit is contained in:
parent
eca87d3755
commit
24de5cc486
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ echo "Row count:" $(psql -t xwgames -c "select count(*) FROM games $QUERY;")
|
|||
|
||||
# Games
|
||||
echo "SELECT dead as d,connname,cid,room,lang as lg,clntVers as cv ,ntotal as t,nperdevice as nPerDev,nsents as snts, seeds,devids,tokens,ack, mtimes "\
|
||||
"FROM games $QUERY ORDER BY NOT dead, connname LIMIT $LIMIT;" \
|
||||
"FROM games $QUERY ORDER BY NOT dead, ctime DESC LIMIT $LIMIT;" \
|
||||
| psql xwgames
|
||||
|
||||
# Messages
|
||||
|
|
Loading…
Reference in a new issue