62849: progress july 5

This commit is contained in:
lotte
2019-07-05 15:19:16 +02:00
parent 998a7107a8
commit 5c39d3c8d1
13 changed files with 243 additions and 52 deletions

View File

@@ -328,13 +328,19 @@ export class PaginationComponent implements OnDestroy, OnInit {
* Method to emit a general pagination change event
*/
private emitPaginationChange() {
this.paginationChange.emit({
pageId: this.id,
page: this.currentPage,
pageSize: this.pageSize,
sortDirection: this.sortDirection,
sortField: this.sortField
});
this.paginationChange.emit(
{
pagination: Object.assign(
new PaginationComponentOptions(),
{
id: this.id,
currentPage: this.currentPage,
pageSize: this.pageSize,
}),
sort: Object.assign(
new SortOptions(this.sortField, this.sortDirection)
)
})
}
/**