aboutsummaryrefslogtreecommitdiffstats
path: root/custom
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 /custom
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 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index a4e777fa12..329dd34d7b 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1238,6 +1238,10 @@ LEVEL = Info
;; Whether to only show relevant repos on the explore page when no keyword is specified and default sorting is used.
;; A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
;ONLY_SHOW_RELEVANT_REPOS = false
+;;
+;; Change the sort type of the explore pages.
+;; Default is "recentupdate", but you also have "alphabetically", "reverselastlogin", "newest", "oldest".
+;EXPLORE_PAGING_DEFAULT_SORT = recentupdate
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;