Skip to content

Commit 4c8e038

Browse files
authored
Can't search for full name when assigning issues (#6749)
Fixes #6748
1 parent d750230 commit 4c8e038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/github/createPRViewProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ export abstract class BaseCreatePullRequestViewProvider<T extends BasePullReques
392392
const remote = await this.getBaseRemote();
393393
const currentRepo = this._folderRepositoryManager.gitHubRepositories.find(repo => repo.remote.owner === remote.owner && repo.remote.repositoryName === remote.repositoryName);
394394
const assigneesToAdd = await vscode.window.showQuickPick(getAssigneesQuickPickItems(this._folderRepositoryManager, currentRepo, remote.remoteName, this.assignees, undefined, true),
395-
{ canPickMany: true, placeHolder: vscode.l10n.t('Add assignees') });
395+
{ canPickMany: true, matchOnDescription: true, placeHolder: vscode.l10n.t('Add assignees') });
396396
if (assigneesToAdd) {
397397
const seenNewAssignees = new Set<string>();
398398
const addedAssignees = assigneesToAdd.map(assignee => assignee.user).filter<IAccount>((assignee): assignee is IAccount => {
@@ -436,7 +436,7 @@ export abstract class BaseCreatePullRequestViewProvider<T extends BasePullReques
436436
newLabels = options.newLabels;
437437
return options.labelPicks;
438438
}) as Promise<vscode.QuickPickItem[]>,
439-
{ canPickMany: true, placeHolder: vscode.l10n.t('Apply labels') },
439+
{ canPickMany: true, matchOnDescription: true, placeHolder: vscode.l10n.t('Apply labels') },
440440
);
441441

442442
if (labelsToAdd) {

0 commit comments

Comments
 (0)