From 5c5511e92cdb66dc228677ac629d5853794a5941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimi=CC=81r=20Orany=CC=81?= Date: Mon, 28 Nov 2016 06:43:47 +0100 Subject: [PATCH] MET-1332 more unique items --- .../core/forms/ModelToFormExporterService.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ModelCatalogueCorePluginTestApp/grails-app/services/org/modelcatalogue/core/forms/ModelToFormExporterService.groovy b/ModelCatalogueCorePluginTestApp/grails-app/services/org/modelcatalogue/core/forms/ModelToFormExporterService.groovy index 3cca921846..2baf14143f 100644 --- a/ModelCatalogueCorePluginTestApp/grails-app/services/org/modelcatalogue/core/forms/ModelToFormExporterService.groovy +++ b/ModelCatalogueCorePluginTestApp/grails-app/services/org/modelcatalogue/core/forms/ModelToFormExporterService.groovy @@ -194,7 +194,7 @@ class ModelToFormExporterService { return } - handleGroupOrVirtualSection(itemNumber, processed, prefix, delegate, sectionModel.parentOfRelationships, true, nameOverrides) + handleGroupOrVirtualSection(itemNumber, processed, prefix + " " + sectionName, delegate, sectionModel.parentOfRelationships, true, nameOverrides) } } } @@ -247,7 +247,7 @@ class ModelToFormExporterService { generateItems(itemNumber, prefix, section, itemsWithHeaderOrGridRel, null, null, nameOverrides) } } - handleGroupOrVirtualSection(itemNumber, processed, prefix, section, itemsWithHeaderOrGrid.parentOfRelationships, false, nameOverrides) + handleGroupOrVirtualSection(itemNumber, processed, prefix + " " + itemsWithHeaderOrGridName, section, itemsWithHeaderOrGrid.parentOfRelationships, false, nameOverrides) } }