1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-10 17:05:06 +00:00

fix search files bug ()

This commit is contained in:
JoinTyang 2024-11-26 17:06:12 +08:00 committed by GitHub
parent 90b668258d
commit 4aa91aebc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,6 +81,8 @@ def get_search_repos_map(search_repo, username, org_id, shared_from, not_shared_
def get_repo_type_map(repo_list, repo_type):
repo_type_map = {}
for repo in repo_list:
if repo.repo_type == REPO_TYPE_WIKI:
continue
repo_type_map[repo.id] = repo_type
return repo_type_map