Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
khushiagl committed Jul 24, 2023
1 parent a77401f commit 37b0064
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 @@ -139,7 +139,7 @@ def show
end

if current_role.instructor?
data[:tas] = course.tas.joins(:user).pluck('users.user_name', 'users.display_name')
data[:tas] = assignment.ta_memberships.joins(:user).distinct.pluck('users.user_name', 'users.display_name')
end

# Marks
Expand Down

0 comments on commit 37b0064

Please sign in to comment.