This commit is contained in:
@@ -386,10 +386,13 @@ namespace AyaNova.Biz
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
|
||||
public SearchIndexProcessObjectParameters(long localeId, long objectID, AyaType objectType, string name)
|
||||
public SearchIndexProcessObjectParameters(long localeId, long objectID, AyaType objectType, string name, List<string> tags = null)
|
||||
{
|
||||
Words = new List<string>();
|
||||
Tags = new List<string>();
|
||||
if (tags != null)
|
||||
Tags = tags;
|
||||
else
|
||||
Tags = new List<string>();
|
||||
LocaleId = localeId;
|
||||
ObjectId = objectID;
|
||||
ObjectType = objectType;
|
||||
@@ -716,7 +719,7 @@ namespace AyaNova.Biz
|
||||
/// <returns></returns>
|
||||
internal static List<string> BreakSearchPhrase(long localeId, string searchPhrase)
|
||||
{
|
||||
List<string> textStrings=new List<string>();
|
||||
List<string> textStrings = new List<string>();
|
||||
textStrings.Add(searchPhrase);
|
||||
return BreakCore(localeId, true, textStrings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user