Skip to content

Commit 4ac7448

Browse files
committed
Order results by person
1 parent 063d62f commit 4ac7448

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LearningAPI/views/foundations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def list(self, request):
4545
last_attempt_param = request.query_params.get('lastAttempt', None)
4646

4747
# Start with all exercises
48-
exercises = FoundationsExercise.objects.all()
48+
exercises = FoundationsExercise.objects.all().order_by('learner_github_id')
4949

5050
# Filter by learner_name if provided
5151
if learner_name is not None:

0 commit comments

Comments
 (0)