1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

feat(repo): support search repository by topic name (#4505)

* feat(repo): support search repository by topic name
This commit is contained in:
Bo-Yi Wu
2018-09-13 10:33:48 +08:00
committed by GitHub
parent 7dd93b2441
commit ea20adaa84
17 changed files with 134 additions and 26 deletions

View File

@@ -91,6 +91,7 @@ func Search(ctx *context.APIContext) {
OwnerID: ctx.QueryInt64("uid"),
Page: ctx.QueryInt("page"),
PageSize: convert.ToCorrectPageSize(ctx.QueryInt("limit")),
TopicOnly: ctx.QueryBool("topic"),
Collaborate: util.OptionalBoolNone,
}