mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-30 10:34:56 +00:00
feedback changes and added mark all read
This commit is contained in:
@ -149,7 +149,7 @@ class TaskListAPIView(viewsets.ModelViewSet):
|
||||
def get_queryset(self):
|
||||
queryset = JuniorTask.objects.filter(guardian__user=self.request.user
|
||||
).select_related('junior', 'junior__auth'
|
||||
).order_by('due_date', 'created_at')
|
||||
).order_by('-created_at')
|
||||
|
||||
queryset = self.filter_queryset(queryset)
|
||||
return queryset
|
||||
|
||||
Reference in New Issue
Block a user