mirror of https://github.com/usememos/memos.git
chore: listMemos sort by id for memos post/update at the same time (#1866)
This commit is contained in:
parent
847b4605f4
commit
63d6b6f9f9
|
|
@ -301,6 +301,7 @@ func listMemos(ctx context.Context, tx *sql.Tx, find *FindMemoMessage) ([]*MemoM
|
|||
} else {
|
||||
orders = append(orders, "created_ts DESC")
|
||||
}
|
||||
orders = append(orders, "id DESC")
|
||||
|
||||
query := `
|
||||
SELECT
|
||||
|
|
|
|||
Loading…
Reference in New Issue