We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6f630 commit 520d29cCopy full SHA for 520d29c
modules/indexer/issues/dboptions.go
@@ -47,6 +47,8 @@ func ToSearchOptions(keyword string, opts *issues_model.IssuesOptions) *SearchOp
47
48
if opts.AssigneeID.Value() == db.NoConditionID {
49
searchOpt.AssigneeID = optional.Some[int64](0) // FIXME: this is inconsistent from other places, 0 means "no assignee"
50
+ } else if opts.AssigneeID.Value() == db.AnyConditionID {
51
+ searchOpt.AnyAssigneeOnly = true
52
} else if opts.AssigneeID.Value() != 0 {
53
searchOpt.AssigneeID = opts.AssigneeID
54
}
0 commit comments