Search was failing when searching for a space, if the data contained a hardspace.

Added Version into ErrorLog for the Session Begin
Fix transition text in Background Documents to say "5" rather than "EOP STEP 5:"
This commit is contained in:
Rich
2013-10-14 15:46:25 +00:00
parent 2deb6dc799
commit 883392a51a
4 changed files with 14 additions and 6 deletions

View File

@@ -6446,14 +6446,14 @@ IF(ISNULL(@DocVersionList,'')='')
BEGIN
INSERT INTO @FoundContents -- Do a case insensitive search
select ContentID,Type,Text from contents
where Replace([Text],'-','\u8209?') like @SearchString Collate SQL_Latin1_General_CP1_CI_AS
where Replace(Replace([Text],'-','\u8209?'),'\u160?',' ') like @SearchString Collate SQL_Latin1_General_CP1_CI_AS
END
ELSE
BEGIN
INSERT INTO @FoundContents -- Do a case insensitive search
select ContentID,Type,Text from contents
where [ContentID] in (select [ContentID] from vefn_DVContent(@DocVersionList))
AND Replace([Text],'-','\u8209?') like @SearchString Collate SQL_Latin1_General_CP1_CI_AS
AND Replace(Replace([Text],'-','\u8209?'),'\u160?',' ') like @SearchString Collate SQL_Latin1_General_CP1_CI_AS
END
RETURN