1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/web/explore
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
..
code.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
org.go Only use supported sort order for "explore/users" page (#29430) 2024-02-27 17:10:51 +08:00
repo.go Refactor AddParam to AddParamIfExist (#29834) 2024-03-16 10:20:13 +01:00
topic.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
user.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00