summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-17 17:48:18 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-17 17:48:30 +0100
commit96b9d98ebe79a8d64a7e6285bd500f57c4409dbb (patch)
tree91cfb8991d8852bb031ba1fdcdd2458f27c53472 /server.js
parentb4dbddb3e666b6d60e39500e6b31c375b1dd755d (diff)
downloadserver-96b9d98ebe79a8d64a7e6285bd500f57c4409dbb.tar.gz
List private games on user page when finished as well as active.
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 78d437a..0805514 100644
--- a/server.js
+++ b/server.js
@@ -1478,7 +1478,7 @@ const QUERY_LIST_PUBLIC_GAMES_OF_USER = SQL(`
and
( status <= ${STATUS_FINISHED} )
and
- ( not is_private or status = ${STATUS_ACTIVE} )
+ ( not is_private or status >= ${STATUS_ACTIVE} )
order by status asc, mtime desc
`)