fix(transaction): fix sorting
This commit was merged in pull request #155.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user