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.
This commit is contained in:
parent
9f87b60b46
commit
1f8f9c3826
8 changed files with 28 additions and 31 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue