Skip to content

Commit

Permalink
Merge branch 'filter_modal' of github.com:khushiagl/Markus into filte…
Browse files Browse the repository at this point in the history
…r_modal
  • Loading branch information
khushiagl committed Jul 27, 2023
2 parents f4e8ef3 + 4acff2a commit 5ecf6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/results_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def show
end

if current_role.instructor? || current_role.ta?
data[:sections] = course.sections.order(:name).pluck(:name)
data[:sections] = course.sections.pluck(:name)
data[:notes_count] = submission.grouping.notes.count
data[:num_marked] = assignment.get_num_marked(current_role.instructor? ? nil : current_role.id)
data[:num_collected] = assignment.get_num_collected(current_role.instructor? ? nil : current_role.id)
Expand Down

0 comments on commit 5ecf6e9

Please sign in to comment.