From 3317f8b7e6b098291fb5c985f0f175317f60eddd Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 6 Dec 2018 20:01:11 +0000 Subject: [PATCH] --- server/AyaNova/biz/DataFilterBiz.cs | 8 ++++---- server/AyaNova/biz/Search.cs | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/server/AyaNova/biz/DataFilterBiz.cs b/server/AyaNova/biz/DataFilterBiz.cs index 29a96b54..d107ac72 100644 --- a/server/AyaNova/biz/DataFilterBiz.cs +++ b/server/AyaNova/biz/DataFilterBiz.cs @@ -73,7 +73,7 @@ namespace AyaNova.Biz EventLogProcessor.LogEventToDatabase(new Event(UserId, outObj.Id, BizType, AyaEvent.Created), ct); //SEARCH INDEXING - Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name); + // Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name); return outObj; @@ -103,7 +103,7 @@ namespace AyaNova.Biz EventLogProcessor.LogEventToDatabase(new Event(UserId, outObj.Id, BizType, AyaEvent.Created), TempContext); //SEARCH INDEXING - Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name); + // Search.ProcessNewObjectKeywords(UserLocaleId, outObj.Id, BizType, outObj.Name, outObj.Name); return outObj; @@ -174,7 +174,7 @@ namespace AyaNova.Biz EventLogProcessor.LogEventToDatabase(new Event(UserId, dbObj.Id, BizType, AyaEvent.Modified), ct); //Update keywords - Search.ProcessUpdatedObjectKeywords(UserLocaleId, dbObj.Id, BizType, dbObj.Name, dbObj.Name); + // Search.ProcessUpdatedObjectKeywords(UserLocaleId, dbObj.Id, BizType, dbObj.Name, dbObj.Name); return true; } @@ -201,7 +201,7 @@ namespace AyaNova.Biz ct.SaveChanges(); //Delete search index - Search.ProcessDeletedObjectKeywords(dbObj.Id, BizType); + //Search.ProcessDeletedObjectKeywords(dbObj.Id, BizType); return true; diff --git a/server/AyaNova/biz/Search.cs b/server/AyaNova/biz/Search.cs index 1c0111ff..ed0232c6 100644 --- a/server/AyaNova/biz/Search.cs +++ b/server/AyaNova/biz/Search.cs @@ -712,10 +712,12 @@ namespace AyaNova.Biz /// cards entered /// /// - /// + /// /// - internal static List BreakSearchPhrase(long localeId, List textStrings) + internal static List BreakSearchPhrase(long localeId, string searchPhrase) { + List textStrings=new List(); + textStrings.Add(searchPhrase); return BreakCore(localeId, true, textStrings); }