0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-01 11:54:44 +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.go
admin_test.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.go
queue_tester.go
repos.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
runners.go
stacktrace.go
users.go Add a warning for disallowed email domains (#29658) 2024-03-11 06:07:36 +00:00
users_test.go