fix(discussion list): quote author qualifier in web mode

Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
Babak K. Shandiz 2026-04-14 15:05:22 +01:00
parent 8d70cc9ca8
commit f62875fb63
No known key found for this signature in database
GPG key ID: 9472CAEFF56C742E

View file

@ -240,7 +240,7 @@ func openInBrowser(opts *ListOptions, repo ghrepo.Interface) error {
queryParts = append(queryParts, "is:"+opts.State)
}
if opts.Author != "" {
queryParts = append(queryParts, "author:"+opts.Author)
queryParts = append(queryParts, fmt.Sprintf("author:%q", opts.Author))
}
for _, l := range opts.Labels {
queryParts = append(queryParts, fmt.Sprintf("label:%q", l))