Change order of transaction confirmation sorting: Updated the SQL query in the LamassuTransactionProcessor to sort confirmed transactions in ascending order by confirmation date, improving the retrieval of older transactions.
This commit is contained in:
parent
d701b7c770
commit
7b40fcef21
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ class LamassuTransactionProcessor:
|
||||||
AND co.status IN ('confirmed', 'authorized')
|
AND co.status IN ('confirmed', 'authorized')
|
||||||
AND co.dispense = 't'
|
AND co.dispense = 't'
|
||||||
AND co.dispense_confirmed = 't'
|
AND co.dispense_confirmed = 't'
|
||||||
ORDER BY co.confirmed_at DESC
|
ORDER BY co.confirmed_at ASC
|
||||||
"""
|
"""
|
||||||
|
|
||||||
all_transactions = await self.execute_ssh_query(db_config, lamassu_query)
|
all_transactions = await self.execute_ssh_query(db_config, lamassu_query)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue