Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[39562] Ensure selected item is set when following

Oliver Günther94bf6ddddf69
diff --git a/frontend/src/app/core/global_search/input/global-search-input.component.ts b/frontend/src/app/core/global_search/input/global-search-input.component.ts
index 4280c65093b..7e47c607a94 100644
--- a/frontend/src/app/core/global_search/input/global-search-input.component.ts
+++ b/frontend/src/app/core/global_search/input/global-search-input.component.ts
@@ -244,6 +244,7 @@ export class GlobalSearchInputComponent implements AfterViewInit, OnDestroy {
}
public followItem(item:WorkPackageResource|SearchOptionItem) {
+ this.selectedItem = item;
if (item instanceof HalResource) {
window.location.href = this.wpPath(item.id!);
} else {