get browse endpoints from hal links

This commit is contained in:
Art Lowel
2017-10-12 12:51:58 +02:00
parent 3580fe4ffb
commit a84eb533be
22 changed files with 346 additions and 80 deletions

View File

@@ -22,6 +22,7 @@ import { Observable } from 'rxjs/Observable';
selector: 'ds-collection-page',
styleUrls: ['./collection-page.component.scss'],
templateUrl: './collection-page.component.html',
changeDetection: ChangeDetectionStrategy.OnPush
})
export class CollectionPageComponent implements OnInit, OnDestroy {
collectionData: RemoteData<Collection>;
@@ -37,8 +38,7 @@ export class CollectionPageComponent implements OnInit, OnDestroy {
private route: ActivatedRoute) {
this.paginationConfig = new PaginationComponentOptions();
this.paginationConfig.id = 'collection-page-pagination';
this.paginationConfig.pageSizeOptions = [4];
this.paginationConfig.pageSize = 4;
this.paginationConfig.pageSize = 5;
this.paginationConfig.currentPage = 1;
this.sortConfig = new SortOptions();
}