diff --git a/webapp/src/app/modules/projects/eu-cordis-details/eu-details.component.ts b/webapp/src/app/modules/projects/eu-cordis-details/eu-details.component.ts index 449bae54..27bd7922 100644 --- a/webapp/src/app/modules/projects/eu-cordis-details/eu-details.component.ts +++ b/webapp/src/app/modules/projects/eu-cordis-details/eu-details.component.ts @@ -38,7 +38,7 @@ export type TabType = MatTooltipModule, TopicChipComponent, OrganizationsTableComponent, - PublicationsTableComponent + PublicationsTableComponent, ], templateUrl: './eu-details.component.html', styleUrl: './eu-details.component.scss', @@ -569,8 +569,12 @@ export class EuDetailsComponent implements OnInit, OnDestroy { .catch((err) => console.error('Navigation to status failed:', err)); } - searchForPatent(patent: Fp7ProjectIPR) { - console.log(patent) + searchForPatent(patent:Fp7ProjectIPR): void { + this.router.navigate(['/patents'], { + queryParams: { + search: patent.title, + }, + }); } /** * Navigate back to projects list with optional filter