From 2a4a982ae436e3bce92f9f6a8902c2a6cd71645c Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Tue, 14 Apr 2026 15:07:32 +0100 Subject: [PATCH] fix(discussion list): include search keywords in web mode Signed-off-by: Babak K. Shandiz --- pkg/cmd/discussion/list/list.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cmd/discussion/list/list.go b/pkg/cmd/discussion/list/list.go index 26114cf5e..3de5df6c6 100644 --- a/pkg/cmd/discussion/list/list.go +++ b/pkg/cmd/discussion/list/list.go @@ -236,6 +236,9 @@ func openInBrowser(opts *ListOptions, repo ghrepo.Interface) error { discussionsURL := ghrepo.GenerateRepoURL(repo, "discussions") var queryParts []string + if opts.Search != "" { + queryParts = append(queryParts, opts.Search) + } if opts.State != "" && opts.State != "all" { queryParts = append(queryParts, "is:"+opts.State) }