0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-12 12:21:43 +01:00
gitea/routers/web/admin
wxiaoguang e0ea3811c4
Refactor AddParam to AddParamIfExist (#29834)
When read the code: `pager.AddParam(ctx, "search", "search")`, the
question always comes: What is it doing? Where is the value from? Why
"search" / "search" ?

Now it is clear: `pager.AddParamIfExist("search", ctx.Data["search"])`
2024-03-16 10:20:13 +01:00
..
admin_test.go
admin.go
applications.go
auths.go
config.go
diagnosis.go
emails.go
hooks.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
main_test.go
notice.go
orgs.go
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
queue_tester.go
queue.go
repos.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
runners.go
stacktrace.go
users_test.go
users.go Add a warning for disallowed email domains (#29658) 2024-03-11 06:07:36 +00:00