Fix datatable multirow multiple selection and deletion (#1764)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
75686c7f4c
commit
6bba522108
@@ -25,7 +25,7 @@ export class ClientsComponent implements OnInit {
|
||||
|
||||
totalRows: number;
|
||||
isLoading = false;
|
||||
|
||||
|
||||
pageSize = 50;
|
||||
currentPage = 0;
|
||||
filterText = '';
|
||||
|
||||
@@ -389,7 +389,7 @@ export class ClientsService {
|
||||
},
|
||||
page,
|
||||
size: pageSize
|
||||
}
|
||||
};
|
||||
if (sortAttribute !== '' && sortDirection !== '') {
|
||||
request = {
|
||||
...request,
|
||||
@@ -399,7 +399,7 @@ export class ClientsService {
|
||||
property: sortAttribute
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
}
|
||||
return this.http.post(`/v2/clients/search`, request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user