Loading rpc/methods.py +2 −2 Original line number Diff line number Diff line Loading @@ -2241,13 +2241,13 @@ def project_stats(user: User, project_id: int) -> dict: project=project, deleted_at__isnull=True ).count(), "descendants_resources_count": Resource.objects.filter( project=project, deleted_at__isnull=True ptr_project=project, deleted_at__isnull=True ).count(), "children_count": Collection.objects.filter( project=project, deleted_at__isnull=True, parent=root ).count(), "resources_count": Resource.objects.filter( project=project, ptr_project=project, deleted_at__isnull=True, collectionmembership__isnull=True, ).count(), Loading Loading
rpc/methods.py +2 −2 Original line number Diff line number Diff line Loading @@ -2241,13 +2241,13 @@ def project_stats(user: User, project_id: int) -> dict: project=project, deleted_at__isnull=True ).count(), "descendants_resources_count": Resource.objects.filter( project=project, deleted_at__isnull=True ptr_project=project, deleted_at__isnull=True ).count(), "children_count": Collection.objects.filter( project=project, deleted_at__isnull=True, parent=root ).count(), "resources_count": Resource.objects.filter( project=project, ptr_project=project, deleted_at__isnull=True, collectionmembership__isnull=True, ).count(), Loading