mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
Merge remote-tracking branch 'upstream/main' into w2p-88300_issue-1379
This commit is contained in:
@@ -71,30 +71,30 @@ export class BrowseByComponent implements OnInit {
|
||||
/**
|
||||
* Whether or not the pagination should be rendered as simple previous and next buttons instead of the normal pagination
|
||||
*/
|
||||
@Input() enableArrows = false;
|
||||
@Input() showPaginator = false;
|
||||
|
||||
/**
|
||||
* If enableArrows is set to true, should it hide the options gear?
|
||||
* It is used to hide or show gear
|
||||
*/
|
||||
@Input() hideGear = false;
|
||||
|
||||
/**
|
||||
* If enableArrows is set to true, emit when the previous button is clicked
|
||||
* Emits event when prev button clicked
|
||||
*/
|
||||
@Output() prev = new EventEmitter<boolean>();
|
||||
|
||||
/**
|
||||
* If enableArrows is set to true, emit when the next button is clicked
|
||||
* Emits event when next button clicked
|
||||
*/
|
||||
@Output() next = new EventEmitter<boolean>();
|
||||
|
||||
/**
|
||||
* If enableArrows is set to true, emit when the page size is changed
|
||||
* Emits event when page size is changed
|
||||
*/
|
||||
@Output() pageSizeChange = new EventEmitter<number>();
|
||||
|
||||
/**
|
||||
* If enableArrows is set to true, emit when the sort direction is changed
|
||||
* Emits event when page sort direction is changed
|
||||
*/
|
||||
@Output() sortDirectionChange = new EventEmitter<SortDirection>();
|
||||
|
||||
@@ -116,7 +116,6 @@ export class BrowseByComponent implements OnInit {
|
||||
public constructor(private injector: Injector,
|
||||
protected paginationService: PaginationService,
|
||||
private routeService: RouteService,
|
||||
protected translate: TranslateService
|
||||
) {
|
||||
|
||||
}
|
||||
@@ -175,8 +174,4 @@ export class BrowseByComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
getTranslation(key: string): Observable<string> {
|
||||
return this.translate.instant(key);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user