Merge remote-tracking branch 'origin/dev_aliyun' into dev_aliyun

dev_home
杨树明 6 years ago
commit c461eac08f

@ -2,7 +2,7 @@ class UsersForPrivateMessagesController < ApplicationController
before_action :require_login, :check_auth before_action :require_login, :check_auth
def index def index
users = User.active.where.not(id: current_user.id) users = User.active.where.not(id: current_user.id).where(laboratory_id: current_laboratory.id)
keyword = params[:keyword].to_s.strip keyword = params[:keyword].to_s.strip
if keyword.blank? if keyword.blank?

Loading…
Cancel
Save