The --type filter was concatenated into ImmutableKeywords in SearchQueryBuild, which bypassed search.Query's quoting and let values that contained quotes (or extra qualifiers) corrupt the final query. Per babakks's suggestion in the review thread, model it as a regular qualifier instead. Add an IssueType field to Qualifiers tagged `qualifier:"type"` so it shares a key with the existing Type field, and rework Qualifiers.Map to honour the tag and concatenate values when multiple fields share the same key. SearchQueryBuild now drops its bespoke type:X formatting and just sets Qualifiers.IssueType, leaving the keyword/qualifier escaping to pkg/search. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| accessibility | ||
| actions | ||
| agent-task | ||
| alias | ||
| api | ||
| attestation | ||
| auth | ||
| browse | ||
| cache | ||
| codespace | ||
| completion | ||
| config | ||
| copilot | ||
| extension | ||
| factory | ||
| gist | ||
| gpg-key | ||
| issue | ||
| label | ||
| licenses | ||
| org | ||
| pr | ||
| preview | ||
| project | ||
| release | ||
| repo | ||
| root | ||
| ruleset | ||
| run | ||
| search | ||
| secret | ||
| send-telemetry | ||
| skills | ||
| ssh-key | ||
| status | ||
| variable | ||
| version | ||
| workflow | ||