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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Take care that wpID is not overriden by the last WP to call the function
Henriette Dinger7dd7caefe86c
diff --git a/frontend/src/app/modules/fields/display/field-types/wp-display-spent-time-field.module.ts b/frontend/src/app/modules/fields/display/field-types/wp-display-spent-time-field.module.tsindex d981fb2c51c..f30f2c5a280 100644--- a/frontend/src/app/modules/fields/display/field-types/wp-display-spent-time-field.module.ts+++ b/frontend/src/app/modules/fields/display/field-types/wp-display-spent-time-field.module.ts@@ -51,11 +51,12 @@ export class SpentTimeDisplayField extends DurationDisplayField {link.setAttribute('title', this.text.linkTitle);if (this.resource.project) {+ const wpID = this.resource.id.toString();this.projectCacheService.require(this.resource.project.idFromLink).then((project:ProjectResource) => {const href = URI(this.PathHelper.projectTimeEntriesPath(project.identifier))- .search({work_package_id: this.resource.id})+ .search({work_package_id: wpID}).toString();link.href = href;