From 4b27071568f825c27686762fed99c8d6c6fe709e Mon Sep 17 00:00:00 2001 From: Abhijith K R <126494601+krAbhijith@users.noreply.github.com> Date: Thu, 30 May 2024 21:39:00 +0530 Subject: [PATCH] Search in College Levels Bug fix --- api/dashboard/college/college_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/dashboard/college/college_view.py b/api/dashboard/college/college_view.py index 50827b17..ba4c464d 100644 --- a/api/dashboard/college/college_view.py +++ b/api/dashboard/college/college_view.py @@ -18,7 +18,7 @@ def get(self, request, college_code=None): paginated_queryset = CommonUtils.get_paginated_queryset( colleges, request, - search_fields=["org", ], + search_fields=["org__title", ], sort_fields={'org': 'org'}, ) serializer = CollegeListSerializer(