|
|
|
@ -1025,7 +1025,7 @@ class PollsController < ApplicationController
|
|
|
|
|
if order == "student_id"
|
|
|
|
|
@poll_users_list = @poll_users_list.joins(user: :user_extension).order("user_extensions.student_id DESC")
|
|
|
|
|
else
|
|
|
|
|
@poll_users_list = @poll_users_list.order("end_at DESC")
|
|
|
|
|
@poll_users_list = @poll_users_list.joins(user: :user_extension).order("end_at DESC")
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
logger.info("#######F_______@poll_users_list_last___@users_ids________________####{@poll_users_list.pluck(:user_id)}")
|
|
|
|
|