fix(patents)
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
[total]="totalPatents"
|
||||
queryParamPageKey="page"
|
||||
queryParamSizeKey="size"
|
||||
[pageSizeOptions]="[10, 20, 50]"
|
||||
[pageSizeOptions]="[10, 25, 50]"
|
||||
(handlePageChange)="onPatentPageChange($event)" />
|
||||
</div>
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ export class InstitutionPatentsComponent implements OnInit {
|
||||
sortDirection: SortDirection = 'desc';
|
||||
|
||||
pageIndex = 0;
|
||||
pageSize = 20;
|
||||
pageSize = 10;
|
||||
totalPatents = 0;
|
||||
|
||||
ngOnInit(): void {
|
||||
@@ -250,7 +250,7 @@ export class InstitutionPatentsComponent implements OnInit {
|
||||
|
||||
private parsePageSizeParam(value: string | null): number {
|
||||
const parsed = Number(value);
|
||||
return Number.isInteger(parsed) && parsed > 0 ? parsed : 20;
|
||||
return Number.isInteger(parsed) && parsed > 0 ? parsed : 10;
|
||||
}
|
||||
|
||||
private isValidFilter(value: string | null): value is SourceFilter {
|
||||
|
||||
Reference in New Issue
Block a user