0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 05:41:58 +01:00
gitea/routers/web/user
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
avatar.go
code.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
home_test.go
home.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
main_test.go
notification.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
package.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
profile.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
search.go
stop_watch.go
task.go