搜索功能

dev_forum
daiao 6 years ago
parent 76028ceca5
commit 6f900946d7

@ -622,7 +622,6 @@ class ShixunsController < ApplicationController
end
def add_collaborators
raise("搜索内容不能为空") unless params[:search]
member_ids = "(" + @shixun.shixun_members.map(&:user_id).join(',') + ")"
user_name = "%#{params[:user_name].strip}%"
school_name = "%#{params[:school_name].strip}%"

Loading…
Cancel
Save