0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 10:14:32 +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 Fix 500 when deleting account with incorrect password or unsupported login type (#29579) 2024-03-08 04:28:21 +00:00
avatar.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
code.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
home.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
home_test.go Add an trailing slash to dashboard links (#29555) 2024-03-04 01:02:51 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
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 migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
stop_watch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
task.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00