Storycraft: order by id in addition to time in _get_lines_for_game query

This commit is contained in:
Brian S. Stephan 2011-01-09 10:39:08 -06:00
parent 22d3ce44bf
commit 8c1d98cb74
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ class Storycraft(Module):
query = '''
SELECT id, game_id, player_id, line, time
FROM storycraft_line WHERE game_id = ?
ORDER BY time DESC
ORDER BY time DESC, id DESC
'''
cursor = db.execute(query, (game_id,))
results = cursor.fetchall()