bugfix :: 사용자 통합검색에서 소팅 추가.

This commit is contained in:
leejinho 2020-02-12 16:26:20 +09:00
parent d9d17f8c2a
commit 59774abb1f

View File

@ -151,7 +151,9 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy {
const response = res as DeptUserResponse;
// 검색 결과 처리.
this.searchUserInfos = searchUserInfos;
this.searchUserInfos = searchUserInfos.sort((a, b) =>
a.name < b.name ? -1 : a.name > b.name ? 1 : 0
);
this.totalCount = response.pageTotalCount;
this.pageCurrent = response.pageCurrent;