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
Set query params of timeline and highlighting to override the queries default if necessary
Henriette Dinger1ac64a58e002
diff --git a/frontend/src/app/components/wp-query/url-params-helper.ts b/frontend/src/app/components/wp-query/url-params-helper.tsindex 50637f53a7c..5e012b1b7f0 100644--- a/frontend/src/app/components/wp-query/url-params-helper.ts+++ b/frontend/src/app/components/wp-query/url-params-helper.ts@@ -98,7 +98,7 @@ export class UrlParamsHelperService {}private encodeHighlightingMode(paramsData:any, query:QueryResource) {- if (query.highlightingMode && query.highlightingMode !== 'inline') {+ if (query.highlightingMode && (query.persisted || query.highlightingMode !== 'inline')) {paramsData.hl = query.highlightingMode;}return paramsData;@@ -154,6 +154,8 @@ export class UrlParamsHelperService {}paramsData.tzl = query.timelineZoomLevel;+ } else {+ paramsData.tv = false;}return paramsData;}@@ -176,9 +178,10 @@ export class UrlParamsHelperService {if (!!properties.s) {queryData.showSums = properties.s;}- if (!!properties.tv) {- queryData.timelineVisible = properties.tv;+ queryData.timelineVisible = properties.tv;++ if (!!properties.tv) {if (!!properties.tll) {queryData.timelineLabels = properties.tll;}