mirror of
https://github.com/haiwen/seahub.git
synced 2025-05-10 17:05:06 +00:00
fix search files bug (#7108)
This commit is contained in:
parent
90b668258d
commit
4aa91aebc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user