Skip to content

Commit

Permalink
[task_dispensers/combinatory_test] fix missing template field"
Browse files Browse the repository at this point in the history
This regression was introduced by #917
  • Loading branch information
anthonygego committed Jul 31, 2023
1 parent 541c0cf commit a0674f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inginious/frontend/task_dispensers/combinatory_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ def render_edit(self, template_helper, course, task_data):

def render(self, template_helper, course, tasks_data, tag_list, username):
""" Returns the formatted task list"""
accessibilities = course.get_task_dispenser().get_accessibilities(self._task_list_func(), [username])
return template_helper.render("task_dispensers/toc.html", course=course, tasks=self._task_list_func(),
tasks_data=tasks_data, tag_filter_list=tag_list, sections=self._toc)
tasks_data=tasks_data, tag_filter_list=tag_list, sections=self._toc,
accessibilities=accessibilities)

def check_dispenser_data(self, dispenser_data):
""" Checks the dispenser data as formatted by the form from render_edit function """
Expand Down

0 comments on commit a0674f2

Please sign in to comment.