aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2023-10-12 00:10:51 +0200
committerGitHub <noreply@github.com>2023-10-11 22:10:51 +0000
commitbf24852b204a0933855f8f7c3babd12080e6467f (patch)
treed7c339db79511d15492f30c0767fda8d9dd3222e /templates/explore
parent328da56a28b9dd436c8ca4c961e4e10f3517c4b1 (diff)
downloadgitea-bf24852b204a0933855f8f7c3babd12080e6467f.tar.gz
gitea-bf24852b204a0933855f8f7c3babd12080e6467f.zip
Keep filter when showing unfiltered results on explore page (#27192)
Fixes https://codeberg.org/Codeberg/Community/issues/1302 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/explore')
-rw-r--r--templates/explore/repo_search.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl
index 1d7030c566..31b00d29e3 100644
--- a/templates/explore/repo_search.tmpl
+++ b/templates/explore/repo_search.tmpl
@@ -36,7 +36,7 @@
</div>
{{if and .PageIsExploreRepositories .OnlyShowRelevant}}
<div class="ui message explore-relevancy-note">
- <span data-tooltip-content="{{ctx.Locale.Tr "explore.relevant_repositories_tooltip"}}">{{ctx.Locale.Tr "explore.relevant_repositories" ((print $.Link "?only_show_relevant=0")|Escape) | Safe}}</span>
+ <span data-tooltip-content="{{ctx.Locale.Tr "explore.relevant_repositories_tooltip"}}">{{ctx.Locale.Tr "explore.relevant_repositories" ((printf "?only_show_relevant=0&sort=%s&q=%s&language=%s" $.SortType (QueryEscape $.Keyword) (QueryEscape $.Language))|Escape) | Safe}}</span>
</div>
{{end}}
<div class="divider"></div>