You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/admin
Zettat123 347df0cbf0
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.


edf98a2dc3/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>
2 years ago
..
admin.go Implement FSFE REUSE for golang files (#21840) 2 years ago
admin_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
applications.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auths.go Map OIDC groups to Orgs/Teams (#21441) 2 years ago
config.go Avoid warning for system setting when start up (#23054) 2 years ago
emails.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hooks.go Add main landmark to templates and adjust titles (#22670) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notice.go Implement FSFE REUSE for golang files (#21840) 2 years ago
orgs.go Implement FSFE REUSE for golang files (#21840) 2 years ago
packages.go Display unreferenced packages total size in package admin panel (#22498) 2 years ago
repos.go Show empty repos in Admin Repository Management page (#23114) 2 years ago
runners.go Implement actions (#21937) 2 years ago
users.go Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
users_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago