From 3754f2f00d33caa0466f3c9ecbfd2698bfe119d5 Mon Sep 17 00:00:00 2001 From: Rich Date: Fri, 10 Apr 2015 11:24:29 +0000 Subject: [PATCH] Change hard spaces to spaces in the RO Lookup Dictionary, so that the ROs can be found without typing a hard space. When creating a list of matching ROs, change hard spaces to spaces so that the display is not confusing. --- PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index 709f16fb..180b1936 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -78,7 +78,7 @@ namespace VEPROMS.CSLA.Library } public override string ToString() { - return _MyChild.title; + return _MyChild.title.Replace("\\u160?"," "); } }; #endregion @@ -1075,7 +1075,7 @@ namespace VEPROMS.CSLA.Library { if (child.value != null) { - string value = child.value.ToUpper(); + string value = child.value.ToUpper().Replace("\\U160?"," "); if (_ValueLookupDictionary.ContainsKey(value)) _ValueLookupDictionary[value].Add(new roChild(child)); else