From 5530e5738baa656ada556f2f644d88f0b817db99 Mon Sep 17 00:00:00 2001 From: genja Date: Thu, 25 Jun 2026 22:31:40 +0200 Subject: [PATCH] search for patents added --- .../projects/eu-cordis-details/eu-details.component.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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