B2018-020 handle hard returns in search string by converting them to “\\line ” before searching. This will be converted to “\line” in the vefn_FixSearchString() stored procedure.

This commit is contained in:
John Jenko 2018-02-08 15:15:47 +00:00
parent f94556ba39
commit 334999bbe2

View File

@ -1245,7 +1245,7 @@ namespace Volian.Controls.Library
{
string rtnVal = str;
rtnVal = rtnVal.Replace("\u00A0", @"\u160?"); //convert \u00A0 to a hard space (\u00A0 shows as a blank in the search text field)
rtnVal = rtnVal.Replace("\n", "");
rtnVal = rtnVal.Replace("\n", @"\line "); //B2018-020 SQL content record has "\line " for the hard return
// Bug fix B2014-057
// if we are searching for a symbol character in all procedure sets MyDocVersion is null
// when MyDocVersion is null, get the symbol list directly from the PROMS base format (BaseAll.xml)