Skip to content

Commit c95c7b0

Browse files
committed
When a student re-opens an attempt, go straight to that attempt.
1 parent de67e15 commit c95c7b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

numbas_lti/views/attempt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def get(self, request, *args, **kwargs):
106106
messages.add_message(self.request,messages.SUCCESS,_('{}\'s attempt has been reopened.'.format(attempt.user.get_full_name())))
107107
next_url = self.reverse_with_lti('manage_attempts',args=(attempt.resource.pk,))
108108
else:
109-
next_url = self.reverse_with_lti('show_attempts')
109+
next_url = self.reverse_with_lti('run_attempt', args=(attempt.pk,))
110110

111111
return redirect(next_url)
112112

0 commit comments

Comments
 (0)