cli/pkg/cmd/issue/list
Kynan Ware 72859237e2 Move --type into the search Qualifiers
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>
2026-05-12 20:40:02 -06:00
..
fixtures Refactor issue list and pr list tests 2022-08-25 00:01:29 +09:00
http.go fix(issue list): reject pull request-only search qualifiers 2026-03-02 10:50:15 -07:00
http_test.go test(issue list): cover additional PR search qualifier variants 2026-03-03 10:13:57 +08:00
list.go feat: add --type filter flag to issue list 2026-04-30 08:49:43 -06:00
list_test.go Move --type into the search Qualifiers 2026-05-12 20:40:02 -06:00