From 1f8f9c3826643b8c3a0c3da1dc15090af736f5a6 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Wed, 15 Jun 2022 18:05:32 +0300 Subject: 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. --- modules/context/pagination.go | 1 - 1 file changed, 1 deletion(-) (limited to 'modules') 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") } -- cgit v1.2.3