mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-06 07:01:36 +01:00
user oder by timestamp for hist data
This commit is contained in:
@@ -37,7 +37,7 @@ class DatabaseConnection:
|
|||||||
'''Get historical data for a player'''
|
'''Get historical data for a player'''
|
||||||
|
|
||||||
cursor = self.connHistorical.cursor()
|
cursor = self.connHistorical.cursor()
|
||||||
cursor.execute("SELECT * FROM playerHistoricalData where id = ?", (playerId,))
|
cursor.execute("SELECT * FROM playerHistoricalData where id = ? order by timestamp ASC", (playerId,))
|
||||||
rows = cursor.fetchall()
|
rows = cursor.fetchall()
|
||||||
|
|
||||||
PLAYER_ID = 0
|
PLAYER_ID = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user