Skip to content

Commit 35d2078

Browse files
authored
Fetch all pages of Padawan PRs (#7677)
* Revert "Fix secondary pr fetching. (#7670)" This reverts commit b4b4347. * Fetch all pages of Padawan PRs
1 parent ff64ed1 commit 35d2078

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/github/copilotPrWatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export class CopilotPRWatcher extends Disposable {
263263
const items: PullRequestModel[] = [];
264264
let hasMore = true;
265265
do {
266-
const prs = await folderManager.getPullRequests(PRType.Query, { fetchOnePagePerRepo: true, fetchNextPage: !hasMore }, query);
266+
const prs = await folderManager.getPullRequests(PRType.Query, { fetchOnePagePerRepo: true, fetchNextPage: !this._model.isInitialized }, query);
267267
items.push(...prs.items);
268268
hasMore = prs.hasMorePages;
269269
} while (hasMore);

0 commit comments

Comments
 (0)