mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Updated comments.
This commit is contained in:
@@ -25,6 +25,7 @@ export class CommunityPageSubCollectionListComponent implements OnInit, OnDestro
|
||||
|
||||
/**
|
||||
* Optional page size. Overrides communityList.pageSize configuration for this component.
|
||||
* Value can be added in the themed version of the parent component.
|
||||
*/
|
||||
@Input() pageSize: number;
|
||||
|
||||
@@ -56,8 +57,8 @@ export class CommunityPageSubCollectionListComponent implements OnInit, OnDestro
|
||||
ngOnInit(): void {
|
||||
this.config = new PaginationComponentOptions();
|
||||
this.config.id = this.pageId;
|
||||
if(hasValue(this.pageSize)) {
|
||||
this.config.pageSize = this.pageSize
|
||||
if (hasValue(this.pageSize)) {
|
||||
this.config.pageSize = this.pageSize;
|
||||
}
|
||||
this.config.currentPage = 1;
|
||||
this.sortConfig = new SortOptions('dc.title', SortDirection.ASC);
|
||||
|
@@ -28,6 +28,7 @@ export class CommunityPageSubCommunityListComponent implements OnInit, OnDestroy
|
||||
|
||||
/**
|
||||
* Optional page size. Overrides communityList.pageSize configuration for this component.
|
||||
* Value can be added in the themed version of the parent component.
|
||||
*/
|
||||
@Input() pageSize: number;
|
||||
|
||||
@@ -59,8 +60,8 @@ export class CommunityPageSubCommunityListComponent implements OnInit, OnDestroy
|
||||
ngOnInit(): void {
|
||||
this.config = new PaginationComponentOptions();
|
||||
this.config.id = this.pageId;
|
||||
if(hasValue(this.pageSize)) {
|
||||
this.config.pageSize = this.pageSize
|
||||
if (hasValue(this.pageSize)) {
|
||||
this.config.pageSize = this.pageSize;
|
||||
}
|
||||
this.config.currentPage = 1;
|
||||
this.sortConfig = new SortOptions('dc.title', SortDirection.ASC);
|
||||
|
Reference in New Issue
Block a user