Skip to content

Commit

Permalink
Merge pull request #1789 from gtech-mulearn/dev
Browse files Browse the repository at this point in the history
clg fix
  • Loading branch information
adnankattekaden authored Dec 10, 2023
2 parents adec0ad + 9216a9d commit ba55746
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/dashboard/college/college_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def get(self, request, college_code=None):
paginated_queryset = CommonUtils.get_paginated_queryset(
colleges,
request,
search_fields=["org",],
sort_fields=None,
search_fields=["org", ],
sort_fields={'org': 'org'},
)
serializer = CollegeListSerializer(
paginated_queryset.get("queryset"), many=True
Expand Down
2 changes: 1 addition & 1 deletion api/dashboard/college/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Meta:
model = College
fields = [
"id",
# "level",
"level",
"org",
"number_of_members",
"total_karma",
Expand Down

0 comments on commit ba55746

Please sign in to comment.