@@ -189,7 +189,7 @@ func SearchIssues(ctx *context.Context) {
189189 IsClosed : isClosed ,
190190 IncludedAnyLabelIDs : includedAnyLabels ,
191191 MilestoneIDs : includedMilestones ,
192- ProjectID : projectID ,
192+ ProjectIDs : projectID ,
193193 SortBy : issue_indexer .SortByCreatedDesc ,
194194 }
195195
@@ -345,12 +345,12 @@ func SearchRepoIssuesJSON(ctx *context.Context) {
345345 Page : ctx .FormInt ("page" ),
346346 PageSize : convert .ToCorrectPageSize (ctx .FormInt ("limit" )),
347347 },
348- Keyword : keyword ,
349- RepoIDs : []int64 {ctx .Repo .Repository .ID },
350- IsPull : isPull ,
351- IsClosed : isClosed ,
352- ProjectID : projectID ,
353- SortBy : issue_indexer .SortByCreatedDesc ,
348+ Keyword : keyword ,
349+ RepoIDs : []int64 {ctx .Repo .Repository .ID },
350+ IsPull : isPull ,
351+ IsClosed : isClosed ,
352+ ProjectIDs : projectID ,
353+ SortBy : issue_indexer .SortByCreatedDesc ,
354354 }
355355 if since != 0 {
356356 searchOpt .UpdatedAfterUnix = optional .Some (since )
@@ -542,7 +542,7 @@ func prepareIssueFilterAndList(ctx *context.Context, milestoneID, projectID int6
542542 RepoIDs : []int64 {repo .ID },
543543 LabelIDs : preparedLabelFilter .SelectedLabelIDs ,
544544 MilestoneIDs : mileIDs ,
545- ProjectID : projectID ,
545+ ProjectIDs : [] int64 { projectID } ,
546546 AssigneeID : assigneeID ,
547547 MentionedID : mentionedID ,
548548 PosterID : posterUserID ,
@@ -629,7 +629,7 @@ func prepareIssueFilterAndList(ctx *context.Context, milestoneID, projectID int6
629629 ReviewRequestedID : reviewRequestedID ,
630630 ReviewedID : reviewedID ,
631631 MilestoneIDs : mileIDs ,
632- ProjectID : projectID ,
632+ ProjectIDs : [] int64 { projectID } ,
633633 IsClosed : isShowClosed ,
634634 IsPull : isPullOption ,
635635 LabelIDs : preparedLabelFilter .SelectedLabelIDs ,
0 commit comments