summaryrefslogtreecommitdiffstats
path: root/models/issue_indexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_indexer.go')
-rw-r--r--models/issue_indexer.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/models/issue_indexer.go b/models/issue_indexer.go
index 18c6f281b2..e43dfc9fae 100644
--- a/models/issue_indexer.go
+++ b/models/issue_indexer.go
@@ -28,10 +28,11 @@ func populateIssueIndexer() error {
batch := indexer.IssueIndexerBatch()
for page := 1; ; page++ {
repos, _, err := SearchRepositoryByName(&SearchRepoOptions{
- Page: page,
- PageSize: 10,
- OrderBy: SearchOrderByID,
- Private: true,
+ Page: page,
+ PageSize: 10,
+ OrderBy: SearchOrderByID,
+ Private: true,
+ Collaborate: util.OptionalBoolFalse,
})
if err != nil {
return fmt.Errorf("Repositories: %v", err)