Skip to content

Commit

Permalink
corrected typo with .TabName
Browse files Browse the repository at this point in the history
  • Loading branch information
zokkis authored Feb 27, 2024
1 parent ae846c1 commit f127130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shared/repo_search.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{$tabQuery := ""}}
{{if .TabName}}{{$tabQuery = printf "tab=%s&" (QueryEscape .TabName)}}{{end}}
{{$languageQuery := ""}}
{{if .TabName}}{{$languageQuery = printf "language=%s&" (QueryEscape .Language)}}{{end}}
{{if .Language}}{{$languageQuery = printf "language=%s&" (QueryEscape .Language)}}{{end}}
{{$queryParams := printf "%s%sq=%s" $tabQuery $languageQuery (QueryEscape .Keyword)}}
<!-- Filter -->
{{$queryParamsWithSort := printf "%s&sort=%s" $queryParams (QueryEscape .SortType)}}
Expand Down

0 comments on commit f127130

Please sign in to comment.