Skip to content

Conversation

@EdwinChang24
Copy link

Summary

Fixes instructure/canvas-lms#2559.

The issue is that the API is already returning submission history in reverse chronological order, but the app reverses the submissions again, and then the attempt numbers don't line up.

Try this API endpoint with ?include=submission_history on an assignment with multiple submissions from a student, and you'll see that the submissions are in reverse chronological order already.

Note that I don't know how to test this change so it may not work, and no tests have been updated. Please make changes to this PR as necessary.

Happy holidays!

@EdwinChang24
Copy link
Author

Also let me know if I should sign a CLA because I haven't been prompted for one.

@hermannakos
Copy link
Collaborator

hermannakos commented Dec 11, 2025

After reproducing the issue, it only affects quizzes. This change would break the sorting on all other submission types. We add this bug to our backlog and it will be fixed in a future release. Thanks for the contribution and reporting the bug to us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Android] Assignment submission history appears out of order

2 participants