fix: keep memory card position stable after rename or config update (#17234)

This commit is contained in:
euvre
2026-07-22 19:22:29 +08:00
committed by GitHub
parent 2f7dc60337
commit f4a61efbb4

View File

@@ -353,7 +353,7 @@ func (dao *MemoryDAO) GetByFilter(userID string, tenantIDs []string, memoryTypes
FROM memory m
LEFT JOIN user u ON m.tenant_id = u.id
%s
ORDER BY m.update_time DESC
ORDER BY m.create_time DESC
LIMIT ? OFFSET ?
`, whereClause)