From 47ce3bfaab973adaad90c9563f9b518ff1ac4372 Mon Sep 17 00:00:00 2001 From: Kelly Nelson Date: Tue, 23 Apr 2024 11:57:30 -0500 Subject: [PATCH] Revert "PGP export fix" This reverts commit 012b8b9c09669a392cf880e373546021fa0d1008. --- ISOv4Plugin/Mappers/ProductGroupMapper.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ISOv4Plugin/Mappers/ProductGroupMapper.cs b/ISOv4Plugin/Mappers/ProductGroupMapper.cs index 08d0392b..c4335796 100644 --- a/ISOv4Plugin/Mappers/ProductGroupMapper.cs +++ b/ISOv4Plugin/Mappers/ProductGroupMapper.cs @@ -21,16 +21,7 @@ public ISOProductGroup ExportProductGroup(string productGroupName, bool isCropTy { if (productGroupName == "Variety") { - if (isCropType) - { - //This is the CropType group. Some systems fail to recognize PDTs in this group based on an interpretation of the spec. - return this.ExportProductGroup("CropType", true); - } - else - { - //Make a PGP which we link to PDTs. - return this.ExportProductGroup("VarietyProducts", false); - } + return this.ExportProductGroup("CropType", true); } else if (ISOTaskData.ChildElements.OfType().Any(g => g.ProductGroupDesignator == productGroupName)) {