Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_forum
SylorHuang 5 years ago
commit df27e6f895

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

Loading…
Cancel
Save