@ -14,7 +14,7 @@ class Users::SubjectService
subjects = category_scope_subjects
subjects = user_policy_filter(subjects)
custom_sort(subjects, :updated_at, params[:sort_direction])
custom_sort(subjects.distinct, :updated_at, params[:sort_direction])
end
private