summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-12-06 23:54:51 +0100
committerTor Andersson <tor@ccxvii.net>2024-12-06 23:55:21 +0100
commit8dcb2dc58a407feea03373334bf2810f029d160a (patch)
tree228866814e08841ac7a3d0c5ac73a243f970e42c
parent91bf5a6b2b98ec7e705903642f0c0b2a1bb35bc6 (diff)
downloadserver-master.tar.gz
Set "go to next game" shortcut to opposed games only.HEADmaster
-rw-r--r--server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.js b/server.js
index 20915df..1346de1 100644
--- a/server.js
+++ b/server.js
@@ -1466,6 +1466,7 @@ const QUERY_NEXT_GAME_OF_USER = SQL(`
status = ${STATUS_ACTIVE}
and active in (role, 'Both')
and user_id = ?
+ and is_opposed
order by mtime
limit 1
`)