X Tutup
Skip to content

Commit f008c61

Browse files
committed
WIP fix filter
1 parent 0131541 commit f008c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/pr/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func listRun(opts *ListOptions) error {
120120
defer opts.IO.StopPager()
121121

122122
if opts.IO.IsStdoutTTY() {
123-
hasFilters := opts.State != "open" || len(opts.Labels) > 0 || opts.BaseBranch != "" || opts.Author != "" || opts.Assignee != ""
123+
hasFilters := opts.State != "open" || len(opts.Labels) > 0 || opts.BaseBranch != "" || opts.Author != "" || opts.Assignee != "" || opts.Search != ""
124124
title := shared.ListHeader(ghrepo.FullName(baseRepo), "pull request", len(listResult.PullRequests), listResult.TotalCount, hasFilters)
125125
fmt.Fprintf(opts.IO.Out, "\n%s\n\n", title)
126126
}

0 commit comments

Comments
 (0)
X Tutup