diff --git a/apps/authentication/api/v1/api.py b/apps/authentication/api/v1/api.py index b7c36b2..8736f49 100644 --- a/apps/authentication/api/v1/api.py +++ b/apps/authentication/api/v1/api.py @@ -372,7 +372,7 @@ class OrganizationViewSet(BaseViewSet, SoftDeleteMixin, ModelViewSet, DynamicSea # search & filter queryset = self.filter_query( - self.get_queryset().filter(id__in={instance.id for instance in child_organizations})) + self.get_queryset()) page = self.paginate_queryset(queryset) # paginate queryset diff --git a/logs/django_requests.log b/logs/django_requests.log index b7593b2..efb8773 100644 --- a/logs/django_requests.log +++ b/logs/django_requests.log @@ -658,3 +658,7 @@ AssertionError: .validate() should return the validated data [2025-11-02 10:48:20,522] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\core\api.py changed, reloading. [2025-11-02 10:48:27,576] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader [2025-11-02 10:56:40,429] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\product\web\api\v1\viewsets\quota_api.py changed, reloading. +[2025-11-02 10:56:44,984] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader +[2025-11-02 11:03:32,109] INFO django.server | IP: - | Path: - | "GET /auth/api/v1/organization/child_organizations/ HTTP/1.1" 200 67 +[2025-11-02 11:04:44,440] INFO django.utils.autoreload | IP: - | Path: - | D:\Project\Rasaddam_Backend\apps\authentication\api\v1\api.py changed, reloading. +[2025-11-02 11:04:48,112] INFO django.utils.autoreload | IP: - | Path: - | Watching for file changes with StatReloader