@ -1026,9 +1028,7 @@ class PollsController < ApplicationController
#搜索
#搜索
ifsearch_content.present?
ifsearch_content.present?
@poll_users_list=@poll_users_list.joins(user::user_extension).where("CONCAT(lastname, firstname) like ? OR student_id like ?","%#{search_content}%","%#{search_content}%")
@poll_users_list=@poll_users_list.joins(user::user_extension).where("CONCAT(lastname, firstname) like ? OR student_id like ?","%#{search_content}%","%#{search_content}%")