mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: listMemos sort by id for memos post/update at the same time (#1866)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user