diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-09-24 15:12:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 07:12:06 +0000 |
commit | 4947bec8360c152daca23e120eae1732d3848492 (patch) | |
tree | b92fa5ca0fdab2647519de6cc8d26a3b67d676ac /web_src | |
parent | e2f365b55cca7cf986a1f04e4d9e43d7e7aef7ad (diff) | |
download | gitea-4947bec8360c152daca23e120eae1732d3848492.tar.gz gitea-4947bec8360c152daca23e120eae1732d3848492.zip |
Include collaboration repositories on dashboard source/forks/mirrors list (#31946)
Fix #13489
In the original implementation, only `All` will display your owned and
collaborated repositories. For other filters like `Source`, `Mirrors`
and etc. will only display your owned repositories.
This PR removed the limitations. Now except `collbrations`, other
filters will always display your owned and collaborated repositories.
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/js/components/DashboardRepoList.vue | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index afc58d3689..ce165b1b3d 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -78,7 +78,6 @@ const sfc = { searchURL() { return `${this.subUrl}/repo/search?sort=updated&order=desc&uid=${this.uid}&team_id=${this.teamId}&q=${this.searchQuery }&page=${this.page}&limit=${this.searchLimit}&mode=${this.repoTypes[this.reposFilter].searchMode - }${this.reposFilter !== 'all' ? '&exclusive=1' : '' }${this.archivedFilter === 'archived' ? '&archived=true' : ''}${this.archivedFilter === 'unarchived' ? '&archived=false' : '' }${this.privateFilter === 'private' ? '&is_private=true' : ''}${this.privateFilter === 'public' ? '&is_private=false' : '' }`; |