aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/ui.go
diff options
context:
space:
mode:
author6543 <m.huber@kithara.com>2023-11-09 11:11:45 +0100
committerGitHub <noreply@github.com>2023-11-09 10:11:45 +0000
commit16ba16dbe951763cfc026b7351e26009d1a25fdc (patch)
treee15db0f5fcc7772a914df2b8993eb8ffcd51010b /modules/setting/ui.go
parent69d98f83f9a62a7e70976b5d973f293f73e42266 (diff)
downloadgitea-16ba16dbe951763cfc026b7351e26009d1a25fdc.tar.gz
gitea-16ba16dbe951763cfc026b7351e26009d1a25fdc.zip
Allow to set explore page default sort (#27951)
as title --- *Sponsored by Kithara Software GmbH*
Diffstat (limited to 'modules/setting/ui.go')
-rw-r--r--modules/setting/ui.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/ui.go b/modules/setting/ui.go
index 231698bf60..31042d3ee0 100644
--- a/modules/setting/ui.go
+++ b/modules/setting/ui.go
@@ -33,6 +33,7 @@ var UI = struct {
CustomEmojisMap map[string]string `ini:"-"`
SearchRepoDescription bool
OnlyShowRelevantRepos bool
+ ExploreDefaultSort string `ini:"EXPLORE_PAGING_DEFAULT_SORT"`
Notification struct {
MinTimeout time.Duration