Skip to content
Snippets Groups Projects
Commit 8008dd44 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #12635 TIME 0:05 reset pagination after filter

parent 80d57d86
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,7 @@ export class ContactsListAdministrationComponent implements OnInit {
tap((value) => {
if (value.length === 0) {
this.search = '';
this.paginator.pageIndex = 0;
this.refreshDao();
}
}),
......@@ -177,6 +178,7 @@ export class ContactsListAdministrationComponent implements OnInit {
distinctUntilChanged(),
tap((data) => {
this.search = data;
this.paginator.pageIndex = 0;
this.refreshDao();
}),
).subscribe();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment