|
|
|
@ -43,6 +43,7 @@ export class ExploreDmpListingComponent extends BaseComponent implements OnInit,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
refresh() {
|
|
|
|
|
if (this._paginator.pageSize === undefined) this._paginator.pageSize = 10;
|
|
|
|
|
const startIndex = this._paginator.pageIndex * this._paginator.pageSize;
|
|
|
|
|
let fields: Array<string> = new Array();
|
|
|
|
|
if (this.sort && this.sort.active) { fields = this.sort.direction === 'asc' ? ['+' + this.sort.active] : ['-' + this.sort.active]; }
|
|
|
|
@ -70,6 +71,10 @@ export class ExploreDmpListingComponent extends BaseComponent implements OnInit,
|
|
|
|
|
this.refresh();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pageThisEvent(event) {
|
|
|
|
|
this.refresh();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @ViewChild(MatPaginator) _paginator: MatPaginator;
|
|
|
|
|
// @ViewChild(MatSort) sort: MatSort;
|
|
|
|
|
// criteria: ExploreDmpCriteriaModel = new ExploreDmpCriteriaModel();
|
|
|
|
|