File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -530,11 +530,11 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
530
530
// Parse ctx.FormString("repos") and remember matched repo IDs for later.
531
531
// Gets set when clicking filters on the issues overview page.
532
532
selectedRepoIDs := getRepoIDs (ctx .FormString ("repos" ))
533
+ // Remove repo IDs that are not accessible to the user.
534
+ selectedRepoIDs = util .SliceRemoveAllFunc (selectedRepoIDs , func (v int64 ) bool {
535
+ return ! accessibleRepos .Contains (v )
536
+ })
533
537
if len (selectedRepoIDs ) > 0 {
534
- // Remove repo IDs that are not accessible to the user.
535
- selectedRepoIDs = util .SliceRemoveAllFunc (selectedRepoIDs , func (v int64 ) bool {
536
- return ! accessibleRepos .Contains (v )
537
- })
538
538
opts .RepoIDs = selectedRepoIDs
539
539
}
540
540
You can’t perform that action at this time.
0 commit comments