Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
SiteApp : Add search by email address
Browse files Browse the repository at this point in the history
  • Loading branch information
김창근 committed Nov 3, 2014
1 parent 8e2a567 commit 0ad1b62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public static Page<User> findUsers(int pageNum, String query, UserState state) {

if(StringUtils.isNotBlank(query)) {
el = el.disjunction();
el = el.icontains("loginId", query).icontains("name", query);
el = el.icontains("loginId", query).icontains("name", query).icontains("email", query);
el.endJunction();
}

Expand Down
2 changes: 1 addition & 1 deletion conf/messages
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ site.user.deleteConfirm = Are you sure you want this user to leave?
site.userList.deleteAlert = This user cannot be deleted because this user is the only manager of the project.
site.userList.deleted = Deleted user
site.userList.locked = Locked user
site.userList.search = Find user by login ID or user name
site.userList.search = Find user by login ID, user name or email
site.userList.unlocked = Unlocked user
title = Title
title.boardList = Board
Expand Down
2 changes: 1 addition & 1 deletion conf/messages.ko
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ site.user.deleteConfirm = 정말로 해당 사용자를 사이트에서 탈퇴
site.userList.deleteAlert = 프로젝트의 유일한 관리자이므로 사이트에서 삭제할 수 없습니다.
site.userList.deleted = 삭제된 사용자
site.userList.locked = 계정이 잠긴 사용자
site.userList.search = 찾으려는 사용자의 ID 또는 이름 입력하세요
site.userList.search = 찾으려는 사용자의 ID, 이름 또는 이메일을 입력하세요
site.userList.unlocked = 활성화된 사용자
title = 제목
title.boardList = 게시판
Expand Down

0 comments on commit 0ad1b62

Please sign in to comment.