|
|
@ -47,7 +47,7 @@ class ShixunsController < ApplicationController
|
|
|
|
where("challenge_tags.name like '%#{keyword}%'
|
|
|
|
where("challenge_tags.name like '%#{keyword}%'
|
|
|
|
or challenges.subject like '%#{keyword}%'
|
|
|
|
or challenges.subject like '%#{keyword}%'
|
|
|
|
or concat(lastname, firstname) like '%#{keyword}%'
|
|
|
|
or concat(lastname, firstname) like '%#{keyword}%'
|
|
|
|
or shixuns.name like '%#{keyword.split(" ").join("%")}%'")
|
|
|
|
or shixuns.name like '%#{keyword.split(" ").join("%")}%'").distinct
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
## 筛选 状态
|
|
|
|
## 筛选 状态
|
|
|
|