mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/user-service/src/repositories/user.repository.ts
This commit is contained in:
1 parent
1569517fbd
commit
24277e2610
3 files changed
+3
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250806-141544", "file": "/workspaces/claude-code-flow/user-service/src/services/user.service.ts", "timestamp": "2025-08-06T14:15:44Z", "type": "pre-edit", "original_branch": "alpha-88"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250806-141545", "file": "/workspaces/claude-code-flow/user-service/src/services/user.service.ts", "timestamp": "2025-08-06T14:15:45Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 2858 +++++++++++++++++++- .claude-flow/metrics/task-metrics.json | 14 +- claude-flow-wiki | 0 coder-test/.claude-flow/metrics/performance.json | 2 +- coder-test/.claude-flow/metrics/task-metrics.json | 6 +- user-service/.claude-flow/metrics/performance.json | 2 +- .../.claude-flow/metrics/task-metrics.json | 6 +- user-service/.claude/checkpoints/1754489725.json | 1 + user-service/.claude/checkpoints/1754489726.json | 1 + user-service/src/services/user.service.ts | 6 +- 11 files changed, 2769 insertions(+), 133 deletions(-) "}
|
||||
@@ -117,6 +117,7 @@ class UserRepository {
|
||||
filteredUsers.sort((a, b) => {
|
||||
const aVal = a[sortBy as keyof User];
|
||||
const bVal = b[sortBy as keyof User];
|
||||
if (aVal === undefined || bVal === undefined) return 0;
|
||||
const comparison = aVal > bVal ? 1 : aVal < bVal ? -1 : 0;
|
||||
return sortOrder === 'asc' ? comparison : -comparison;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user