fix(patents)
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...

This commit is contained in:
2026-09-07 13:09:00 +02:00
parent 2ab5086057
commit cf10f84606
2 changed files with 3 additions and 3 deletions
@@ -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 {