Storycraft: order by id in addition to time in _get_lines_for_game query
This commit is contained in:
parent
22d3ce44bf
commit
8c1d98cb74
@ -786,7 +786,7 @@ class Storycraft(Module):
|
|||||||
query = '''
|
query = '''
|
||||||
SELECT id, game_id, player_id, line, time
|
SELECT id, game_id, player_id, line, time
|
||||||
FROM storycraft_line WHERE game_id = ?
|
FROM storycraft_line WHERE game_id = ?
|
||||||
ORDER BY time DESC
|
ORDER BY time DESC, id DESC
|
||||||
'''
|
'''
|
||||||
cursor = db.execute(query, (game_id,))
|
cursor = db.execute(query, (game_id,))
|
||||||
results = cursor.fetchall()
|
results = cursor.fetchall()
|
||||||
|
Loading…
Reference in New Issue
Block a user