diff options
Diffstat (limited to 'client/src/app/+admin/users/user-list')
-rw-r--r-- | client/src/app/+admin/users/user-list/user-list.component.html | 1 | ||||
-rw-r--r-- | client/src/app/+admin/users/user-list/user-list.component.ts | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html index 9d1f2e34a..ae8921802 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.html +++ b/client/src/app/+admin/users/user-list/user-list.component.html | |||
@@ -25,6 +25,7 @@ | |||
25 | <div> | 25 | <div> |
26 | <input | 26 | <input |
27 | type="text" name="table-filter" id="table-filter" i18n-placeholder placeholder="Filter..." | 27 | type="text" name="table-filter" id="table-filter" i18n-placeholder placeholder="Filter..." |
28 | (keyup)="onSearch($event.target.value)" | ||
28 | > | 29 | > |
29 | </div> | 30 | </div> |
30 | </div> | 31 | </div> |
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index f3e7e0ead..33384dc35 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts | |||
@@ -35,7 +35,7 @@ export class UserListComponent extends RestTable implements OnInit { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | ngOnInit () { | 37 | ngOnInit () { |
38 | this.loadSort() | 38 | this.initialize() |
39 | 39 | ||
40 | this.bulkUserActions = [ | 40 | this.bulkUserActions = [ |
41 | { | 41 | { |
@@ -58,7 +58,7 @@ export class UserListComponent extends RestTable implements OnInit { | |||
58 | protected loadData () { | 58 | protected loadData () { |
59 | this.selectedUsers = [] | 59 | this.selectedUsers = [] |
60 | 60 | ||
61 | this.userService.getUsers(this.pagination, this.sort) | 61 | this.userService.getUsers(this.pagination, this.sort, this.search) |
62 | .subscribe( | 62 | .subscribe( |
63 | resultList => { | 63 | resultList => { |
64 | this.users = resultList.data | 64 | this.users = resultList.data |