From 56de7d54599de68fe52bc07b57c27419798d63d1 Mon Sep 17 00:00:00 2001 From: yangjian Date: Thu, 14 Jan 2021 21:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E6=A1=A3=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E6=90=9C=E7=B4=A2=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=8D=8F=E4=BD=9C=E6=96=87=E9=9B=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_doc/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_doc/views.py b/app_doc/views.py index f0c8c8b..750c5ff 100644 --- a/app_doc/views.py +++ b/app_doc/views.py @@ -1233,7 +1233,7 @@ def manage_doc(request): if project == '': project_list = Project.objects.filter(create_user=request.user).values_list('id',flat=True) # 自己创建的文集列表 - colla_project_list = ProjectCollaborator.objects.filter(user=request.user).values_list('id',flat=True) # 协作的文集列表 + colla_project_list = ProjectCollaborator.objects.filter(user=request.user).values_list('project__id',flat=True) # 协作的文集列表 q_project = list(project_list) + list(colla_project_list) else: q_project = [project]