fetch history filtered order fix
This commit is contained in:
parent
a530b7ae65
commit
c493b2315a
@ -139,6 +139,7 @@ def get_history_filtered(lists_uuid):
|
||||
sql_request += f' h.uuid = c{str(i)}.item_uuid and c{str(i)}.list_uuid = {str(uuid)} and'
|
||||
|
||||
sql_request = sql_request[:-3] # remove last 'and'
|
||||
sql_request += " ORDER BY h.h_timestamp" # order entries
|
||||
|
||||
connection = connect_db()
|
||||
cursor = connection.cursor()
|
||||
|
Loading…
x
Reference in New Issue
Block a user