Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4adfa3

Browse files
authored
fix(coderd/database/dbmem): include a technical summary row on over-pagination (#14415)
1 parent99e103e commitd4adfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10203,7 +10203,7 @@ func (q *FakeQuerier) GetAuthorizedWorkspaces(ctx context.Context, arg database.
1020310203

1020410204
ifarg.Offset>0 {
1020510205
ifint(arg.Offset)>len(workspaces) {
10206-
return []database.GetWorkspacesRow{},nil
10206+
returnq.convertToWorkspaceRowsNoLock(ctx,[]database.Workspace{},int64(beforePageCount),arg.WithSummary),nil
1020710207
}
1020810208
workspaces=workspaces[arg.Offset:]
1020910209
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp