diff --git a/internal/service/transaction.go b/internal/service/transaction.go index b1a536d..cf63405 100644 --- a/internal/service/transaction.go +++ b/internal/service/transaction.go @@ -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,