cli/pkg/search
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
..
query.go Move --type into the search Qualifiers 2026-05-12 20:40:02 -06:00
query_test.go Move --type into the search Qualifiers 2026-05-12 20:40:02 -06:00
result.go Add comments for Total 2025-04-16 20:46:29 +02:00
result_test.go 💅 json export 2023-06-09 17:36:19 +02:00
searcher.go Add missing TODO comments for featuredetection if-statements 2026-02-16 14:24:32 -07:00
searcher_mock.go implement code search 2023-04-26 18:38:35 -06:00
searcher_test.go test(pkg/search): assert verbatim keywords are respected 2025-11-20 13:08:27 +00:00