chore: listMemos sort by id for memos post/update at the same time (#1866)
This commit is contained in:
parent
847b4605f4
commit
63d6b6f9f9
1 changed files with 1 additions and 0 deletions
|
|
@ -301,6 +301,7 @@ func listMemos(ctx context.Context, tx *sql.Tx, find *FindMemoMessage) ([]*MemoM
|
||||||
} else {
|
} else {
|
||||||
orders = append(orders, "created_ts DESC")
|
orders = append(orders, "created_ts DESC")
|
||||||
}
|
}
|
||||||
|
orders = append(orders, "id DESC")
|
||||||
|
|
||||||
query := `
|
query := `
|
||||||
SELECT
|
SELECT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue