mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
Implement feedback
Change padding into margin Change 'Create link' to a button Add placeholder to extension field Fix pagination
This commit is contained in:
@@ -36,7 +36,7 @@ export class BitstreamFormatsComponent implements OnInit {
|
||||
* Currently simply renders all bitstream formats
|
||||
*/
|
||||
config: FindAllOptions = Object.assign(new FindAllOptions(), {
|
||||
elementsPerPage: 10000
|
||||
elementsPerPage: 20
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -45,7 +45,7 @@ export class BitstreamFormatsComponent implements OnInit {
|
||||
*/
|
||||
pageConfig: PaginationComponentOptions = Object.assign(new PaginationComponentOptions(), {
|
||||
id: 'registry-bitstreamformats-pagination',
|
||||
pageSize: 10000
|
||||
pageSize: 20
|
||||
});
|
||||
|
||||
constructor(private notificationsService: NotificationsService,
|
||||
@@ -142,9 +142,11 @@ export class BitstreamFormatsComponent implements OnInit {
|
||||
* @param event The page change event
|
||||
*/
|
||||
onPageChange(event) {
|
||||
this.config.currentPage = event;
|
||||
this.config = Object.assign(new FindAllOptions(), this.config, {
|
||||
currentPage: event,
|
||||
});
|
||||
this.pageConfig.currentPage = event;
|
||||
this.updateFormats();
|
||||
this.pageState.next('pageChange');
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
Reference in New Issue
Block a user