This commit is contained in:
2021-10-19 17:54:48 +00:00
parent 177b8d3863
commit 8a1e009850
2 changed files with 18 additions and 1 deletions

View File

@@ -122,6 +122,7 @@ namespace AyaNova.Biz
public static async Task ProcessUpdateTagsInRepositoryAsync(AyContext ct, List<string> newTags, List<string> originalTags = null)
{
//todo: Recode this as a procedure like search indexing or at least a direct sql call
//just in case no new tags are present which could mean a user removed all tags from a record so this
//needs to proceed with the code below even if newTags is null as long as originalTags isn't also null
if (newTags == null) newTags = new List<string>();