Skip to content

Commit cf7fd15

Browse files
committed
fix: getUserIssueStats
1 parent eaab29d commit cf7fd15

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

routers/web/user/home.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,6 @@ func UsernameSubRoute(ctx *context.Context) {
852852

853853
func getUserIssueStats(ctx *context.Context, filterMode int, opts *issue_indexer.SearchOptions, doerID int64) (*issues_model.IssueStats, error) {
854854
opts = opts.Copy(func(o *issue_indexer.SearchOptions) {
855-
o.IsClosed = util.OptionalBoolNone
856855
o.AssigneeID = nil
857856
o.PosterID = nil
858857
o.MentionID = nil
@@ -892,8 +891,6 @@ func getUserIssueStats(ctx *context.Context, filterMode int, opts *issue_indexer
892891
}
893892
}
894893

895-
opts.IsClosed = util.OptionalBoolFalse
896-
897894
ret.YourRepositoriesCount, err = issue_indexer.CountIssues(ctx, opts)
898895
if err != nil {
899896
return nil, err

0 commit comments

Comments
 (0)