diff options
author | Stan Hu <stanhu@gmail.com> | 2019-08-09 00:33:42 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-09 00:33:42 -0700 |
commit | d39871d080ffbba35f4e58ed6c13c684e01be773 (patch) | |
tree | b70047104b288e44713e98ac688ef7643a0df8e2 /app/models/member.rb | |
parent | 60a1e843faacb570b3480e12cf67424d79840ebb (diff) | |
download | gitlab-ce-d39871d080ffbba35f4e58ed6c13c684e01be773.tar.gz |
Rename search_invited to search_invite_email
Diffstat (limited to 'app/models/member.rb')
-rw-r--r-- | app/models/member.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index ada779f0583..dbae1076670 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -107,7 +107,7 @@ class Member < ApplicationRecord joins(:user).merge(User.search(query)) end - def search_invited(query) + def search_invite_email(query) invite.where(['invite_email ILIKE ?', "%#{query}%"]) end |