@ -398,7 +398,6 @@ class ShixunsController < ApplicationController
if search.present?
search_shixun_ids = Shixun.joins(:users, challenges: :challenge_tags).
where("challenge_tags.name like '%#{search}%'
or subject like '%#{search}%'
or challenges.subject like '%#{search}%'
or concat(lastname, firstname) like '%#{search}%'
or shixuns.name like '%#{search}%'").pluck(:id)