gitea/routers
Yarden Shoham 80c1264f4b
Show empty repos in Admin Repository Management page (#23114) (#23130)
Backport #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: Zettat123 <zettat123@gmail.com>
Co-authored-by: Andrew Thornton <art27@cantab.net>
2023-02-24 20:17:21 +00:00
..
api Add force_merge to merge request and fix checking mergable (#23010) 2023-02-21 08:42:07 -06:00
common Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
install Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
private Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Show empty repos in Admin Repository Management page (#23114) (#23130) 2023-02-24 20:17:21 +00:00
init.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00