summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2023-02-25 03:11:31 +0800
committerGitHub <noreply@github.com>2023-02-24 19:11:31 +0000
commit347df0cbf0f8aa7ce4714b818a61e423cd47f398 (patch)
treedbeb0154c53466a01b12b1761fc391c0996cd651 /assets
parent9eb61b77acecfb8702dfee287690c4b7329e60fc (diff)
downloadgitea-347df0cbf0f8aa7ce4714b818a61e423cd47f398.tar.gz
gitea-347df0cbf0f8aa7ce4714b818a61e423cd47f398.zip
Show empty repos in Admin Repository Management page (#23114)
The **Admin Repository Management** page and the **Explore Repository** page both use the `RenderRepoSearch` function. In this function, the `OnlyShowRelevant` search option is `true` when querying repositories for admin page. https://github.com/go-gitea/gitea/blob/edf98a2dc30956c8e04b778bb7f1ce55c14ba963/routers/web/explore/repo.go#L99-L115 Refer to [#19361](https://github.com/go-gitea/gitea/pull/19361/files#diff-8058dfb85557010e0592d586675ec62ce406af7068e6311f39c160deac37f149R497), the repositories with `is_empty=true` will be hidden if `OnlyShowRelevant` is `true`. Administrators should be able to see all repositories. So `OnlyShowRelevant` shouldn't be set to `true` . --------- Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions