Skip to content

Commit 864ba8b

Browse files
committed
lint
1 parent 3490d1c commit 864ba8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

routers/web/repo/issue_list.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
560560
return
561561
}
562562

563-
var keywordMatchedIssueIds []int64
563+
var keywordMatchedIssueIDs []int64
564564
var issueStats *issues_model.IssueStats
565565
statsOpts := &issues_model.IssuesOptions{
566566
RepoIDs: []int64{repo.ID},
@@ -576,7 +576,7 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
576576
IssueIDs: nil,
577577
}
578578
if keyword != "" {
579-
keywordMatchedIssueIds, err = issueIDsFromSearch(ctx, keyword, statsOpts)
579+
keywordMatchedIssueIDs, err = issueIDsFromSearch(ctx, keyword, statsOpts)
580580
if err != nil {
581581
if issue_indexer.IsAvailable(ctx) {
582582
ctx.ServerError("issueIDsFromSearch", err)
@@ -585,7 +585,7 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
585585
ctx.Data["IssueIndexerUnavailable"] = true
586586
return
587587
}
588-
statsOpts.IssueIDs = keywordMatchedIssueIds
588+
statsOpts.IssueIDs = keywordMatchedIssueIDs
589589
}
590590
if keyword != "" && len(statsOpts.IssueIDs) == 0 {
591591
// So it did search with the keyword, but no issue found.
@@ -643,7 +643,7 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
643643
var issues issues_model.IssueList
644644
{
645645
// Do not repeat the keyword search, since if we had any keyword matches we should
646-
// already have their IDs available in keywordMatchedIssueIds.
646+
// already have their IDs available in keywordMatchedIssueIDs.
647647
ids, err := issueIDsFromSearch(ctx, "", &issues_model.IssuesOptions{
648648
Paginator: &db.ListOptions{
649649
Page: pager.Paginater.Current(),
@@ -661,7 +661,7 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
661661
IsPull: isPullOption,
662662
LabelIDs: labelIDs,
663663
SortType: sortType,
664-
IssueIDs: keywordMatchedIssueIds,
664+
IssueIDs: keywordMatchedIssueIDs,
665665
})
666666
if err != nil {
667667
if issue_indexer.IsAvailable(ctx) {

0 commit comments

Comments
 (0)