fix(transaction): fix sorting #155

Merged
tim merged 1 commits from fix-transaction-sorting into prod 2025-06-07 10:24:49 +00:00

View File

@@ -259,7 +259,7 @@ func (s TransactionImpl) GetAll(user *types.User, filter types.TransactionItemsF
OR (? = "true" AND error IS NOT NULL)
OR (? = "false" AND error IS NULL)
)
ORDER BY timestamp DESC`,
ORDER BY timestamp DESC, created_at DESC`,
user.Id,
filter.AccountId, filter.AccountId,
filter.TreasureChestId, filter.TreasureChestId,