case 4504
This commit is contained in:
@@ -43,6 +43,7 @@ namespace Sockeye.Biz
|
||||
//
|
||||
internal async Task<Subscription> CreateAsync(Subscription newObject)
|
||||
{
|
||||
|
||||
await ValidateAsync(newObject, null);
|
||||
if (HasErrors)
|
||||
return null;
|
||||
@@ -151,7 +152,7 @@ namespace Sockeye.Biz
|
||||
await ct.SaveChangesAsync();
|
||||
|
||||
//Log event
|
||||
await EventLogProcessor.DeleteObjectLogAsync(UserId, BizType, dbObject.Id, dbObject.Name, ct);
|
||||
await EventLogProcessor.DeleteObjectLogAsync(UserId, BizType, dbObject.Id, "subscription", ct);
|
||||
await Search.ProcessDeletedObjectKeywordsAsync(dbObject.Id, BizType, ct);
|
||||
await TagBiz.ProcessDeleteTagsInRepositoryAsync(ct, dbObject.Tags);
|
||||
await FileUtil.DeleteAttachmentsForObjectAsync(BizType, dbObject.Id, ct);
|
||||
@@ -189,7 +190,7 @@ namespace Sockeye.Biz
|
||||
public void DigestSearchText(Subscription obj, Search.SearchIndexProcessObjectParameters searchParams)
|
||||
{
|
||||
if (obj != null)
|
||||
searchParams.AddText(obj.Name)
|
||||
searchParams.AddText(obj.Subsite)
|
||||
.AddText(obj.Tags)
|
||||
.AddText(obj.Notes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user