0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 21:44:38 +01:00
gitea/routers/web
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 Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
auth
devtest
events
explore Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
feed
healthcheck
misc
org Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
repo Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
shared
user Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
passkey.go
swagger_json.go
web.go Use Get but not Post to get actions artifacts (#29734) 2024-03-12 11:53:53 +01:00
webfinger.go