bugfix :: 사용자 통합검색에서 소팅 추가.
This commit is contained in:
parent
d9d17f8c2a
commit
59774abb1f
|
@ -151,7 +151,9 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy {
|
||||||
const response = res as DeptUserResponse;
|
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.totalCount = response.pageTotalCount;
|
||||||
this.pageCurrent = response.pageCurrent;
|
this.pageCurrent = response.pageCurrent;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user