aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2022-06-15 18:05:32 +0300
committerGitHub <noreply@github.com>2022-06-15 23:05:32 +0800
commit1f8f9c3826643b8c3a0c3da1dc15090af736f5a6 (patch)
tree80e4dec4b1ac01f9bd41d27ae042ece6a14b0f1e /modules
parent9f87b60b46b2d3c6c4518d772a0fdc935d454ae0 (diff)
downloadgitea-1f8f9c3826643b8c3a0c3da1dc15090af736f5a6.tar.gz
gitea-1f8f9c3826643b8c3a0c3da1dc15090af736f5a6.zip
Remove tab/TabName usage where it's not needed (#19973)
`tab` query argument and `TabName` in context is used only in profile so remove it from all other places where it's not used anymore.
Diffstat (limited to 'modules')
-rw-r--r--modules/context/pagination.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/context/pagination.go b/modules/context/pagination.go
index c0079c2950..617b472f0d 100644
--- a/modules/context/pagination.go
+++ b/modules/context/pagination.go
@@ -52,7 +52,6 @@ func (p *Pagination) GetParams() template.URL {
func (p *Pagination) SetDefaultParams(ctx *Context) {
p.AddParam(ctx, "sort", "SortType")
p.AddParam(ctx, "q", "Keyword")
- p.AddParam(ctx, "tab", "TabName")
// do not add any more uncommon params here!
p.AddParam(ctx, "t", "queryType")
}