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

Allow queryProps in URL for ifc viewer module

Henriette Dingera9f212cfa377
diff --git a/frontend/src/app/modules/ifc_models/openproject-ifc-models.routes.ts b/frontend/src/app/modules/ifc_models/openproject-ifc-models.routes.ts
index 892bd86c5b6..f6ec7cf8ce3 100644
--- a/frontend/src/app/modules/ifc_models/openproject-ifc-models.routes.ts
+++ b/frontend/src/app/modules/ifc_models/openproject-ifc-models.routes.ts
@@ -36,9 +36,13 @@ export const IFC_ROUTES:Ng2StateDeclaration[] = [
{
name: 'bim',
parent: 'root',
- url: '/ifc_models',
+ url: '/ifc_models?query_props',
abstract: true,
- component: WorkPackagesBaseComponent
+ component: WorkPackagesBaseComponent,
+ params: {
+ // Use custom encoder/decoder that ensures validity of URL string
+ query_props: {type: 'opQueryString', dynamic: true}
+ }
},
{
name: 'bim.space',