50632: Replaced mock registry service with implementation and added pagination

This commit is contained in:
Kristof De Langhe
2018-04-04 13:03:15 +02:00
parent 683b58eaaf
commit 0d70faffae
16 changed files with 402 additions and 105 deletions

View File

@@ -207,8 +207,10 @@ export class PaginationComponent implements OnDestroy, OnInit {
this.pageSizeOptions = this.paginationOptions.pageSizeOptions;
this.currentPage = this.paginationOptions.currentPage;
this.pageSize = this.paginationOptions.pageSize;
this.sortDirection = this.sortOptions.direction;
this.sortField = this.sortOptions.field;
if (this.sortOptions) {
this.sortDirection = this.sortOptions.direction;
this.sortField = this.sortOptions.field;
}
this.currentQueryParams = {
pageId: this.id,
page: this.currentPage,