schedule_job
cxt 5 years ago
parent c417f6a23b
commit 8aa9f99e90

@ -99,9 +99,9 @@ class Users::ShixunService
end
case params[:category]
when 'study', 'collect' then
when 'study' then
relations.order("myshixuns.#{sort_by} #{sort_direction}")
when 'manage' then
when 'manage', 'collect' then
relations.order("shixuns.#{sort_by} #{sort_direction}")
else
relations.order("shixuns.#{sort_by} #{sort_direction}")

Loading…
Cancel
Save