0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 19:42:09 +01:00
gitea/routers/web/org
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
..
setting Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
home.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
members.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
org.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org_labels.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
projects.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
projects_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
setting.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
setting_oauth2.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
setting_packages.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
teams.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00