diff options
Diffstat (limited to 'routers/repo/search.go')
-rw-r--r-- | routers/repo/search.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/repo/search.go b/routers/repo/search.go index ed209f2ddc..95715c30c6 100644 --- a/routers/repo/search.go +++ b/routers/repo/search.go @@ -29,7 +29,8 @@ func Search(ctx *context.Context) { if page <= 0 { page = 1 } - total, searchResults, err := search.PerformSearch(ctx.Repo.Repository.ID, keyword, page, setting.UI.RepoSearchPagingNum) + total, searchResults, err := search.PerformSearch([]int64{ctx.Repo.Repository.ID}, + keyword, page, setting.UI.RepoSearchPagingNum) if err != nil { ctx.ServerError("SearchResults", err) return |