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

Merge branch 'release/10.6' into dev

ulferts22c3a07fd9db
diff --cc frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.ts
index a1c9c0ddcf4,ec562cf7427..17cd5349e07
--- a/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.ts
+++ b/frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.ts
@@@ -18,8 -18,7 +18,8 @@@ import {I18nService} from "core-app/mod
import {CardHighlightingMode} from "core-components/wp-fast-table/builders/highlighting/highlighting-mode.const";
import {CardViewOrientation} from "core-components/wp-card-view/wp-card-view.component";
import {UntilDestroyedMixin} from "core-app/helpers/angular/until-destroyed.mixin";
+import {WorkPackageViewFocusService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-focus.service";
-
+ import {splitViewRoute} from "core-app/modules/work_packages/routing/split-view-routes.helper";
@Component({
selector: 'wp-single-card',
@@@ -74,9 -72,8 +74,9 @@@ export class WorkPackageSingleCardCompo
public openSplitScreen(wp:WorkPackageResource) {
let classIdentifier = this.classIdentifier(wp);
this.wpTableSelection.setSelection(wp.id!, this.cardView.findRenderedCard(classIdentifier));
+ this.wpTableFocus.updateFocus(wp.id!);
this.$state.go(
- this.$state.current.data.baseRoute + '.details',
+ splitViewRoute(this.$state),
{ workPackageId: wp.id! }
);
}