1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05: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 Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
applications.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
auths.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
config.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
diagnosis.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
emails.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
hooks.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
main_test.go
notice.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
orgs.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
queue_tester.go
queue.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repos.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
runners.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
stacktrace.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
users_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
users.go Add a warning for disallowed email domains (#29658) 2024-03-11 06:07:36 +00:00