diff --git a/src/db.py b/src/db.py index a35621e..ff9505f 100644 --- a/src/db.py +++ b/src/db.py @@ -131,6 +131,7 @@ def get_history_filtered(lists_uuid): sql_request = """ SELECT uuid, quantity, discount_percentage, price, currency, h_timestamp FROM history h + ORDER BY h_timestamp """ for i in range(n_filters): sql_request += f', listcontent c{str(i)}'