This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix bug user search API pagesize didn't obey ExplorePagingNum (
#6579
)
tags/v1.21.12.1
Lunny Xiao
techknowlogick
6 years ago
parent
2f53b5f88c
commit
1b7dffc3a3
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
routers/api/v1/user/user.go
+ 0
- 3
routers/api/v1/user/user.go
View File
@@ -55,9 +55,6 @@ func Search(ctx *context.APIContext) {
Type: models.UserTypeIndividual,
PageSize: com.StrTo(ctx.Query("limit")).MustInt(),
}
if opts.PageSize <= 0 {
opts.PageSize = 10
}
users, _, err := models.SearchUsers(opts)
if err != nil {
Write
Preview
Loading…
Cancel
Save