From c6f615bcebc627986f5217bfe0114532ff3534cd Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 30 Jul 2019 14:40:25 +0000 Subject: [PATCH] C2019-029: remove UCF derived from format name in format lists. --- PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs index 290dced9..02cd7989 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs @@ -161,6 +161,8 @@ namespace VEPROMS.CSLA.Library { if (ParentID == 1) return Description + " (" + Name + ")"; if (Description.StartsWith("*")) return Description.Substring(1) + " (" + Name + ")"; + // C2019-029: if UCF, just use description & name, using parent is confusing + if (Config != null && Config != "") return Description + " (" + Name + ")"; return MyParent.Description + " - " + Description + " (" + Name + ")"; } } @@ -600,6 +602,8 @@ namespace VEPROMS.CSLA.Library { if (ParentID == 1) return Description + " (" + Name + ")"; if (Description.StartsWith("*")) return Description.Substring(1) + " (" + Name + ")"; + // C2019-029: if UCF, just use description & name, using parent is confusing + if (Config != null && Config != "") return Description + " (" + Name + ")"; return MyParent.Description + " - " + Description + " (" + Name + ")"; } }