0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-12 04:43:32 +02:00
This commit is contained in:
Lunny Xiao 2026-03-21 21:22:03 -07:00
parent fc52742cf8
commit 4ad88a72d3
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -132,9 +132,9 @@ func GlobalSearch(ctx *context.APIContext) {
return
}
ctx.SetTotalCountHeader(int64(total))
ctx.SetTotalCountHeader(total)
searchResults := structs.CodeSearchResults{
TotalCount: int64(total),
TotalCount: total,
}
for _, lang := range languages {