fetch history order fix
This commit is contained in:
parent
a530b7ae65
commit
f8a1d086b1
@ -131,6 +131,7 @@ def get_history_filtered(lists_uuid):
|
|||||||
sql_request = """
|
sql_request = """
|
||||||
SELECT uuid, quantity, discount_percentage, price, currency, h_timestamp
|
SELECT uuid, quantity, discount_percentage, price, currency, h_timestamp
|
||||||
FROM history h
|
FROM history h
|
||||||
|
ORDER BY h_timestamp
|
||||||
"""
|
"""
|
||||||
for i in range(n_filters):
|
for i in range(n_filters):
|
||||||
sql_request += f', listcontent c{str(i)}'
|
sql_request += f', listcontent c{str(i)}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user