Skip to content

Commit

Permalink
Resolved issue of cache not being updated with changes to a content i…
Browse files Browse the repository at this point in the history
…tem within a Term
  • Loading branch information
mitchelsellers committed Jan 15, 2021
1 parent 27d689b commit 60ff4af
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -96,6 +96,9 @@ public void AddTermToContent(Term term, ContentItem contentItem)
Requires.NotNull("contentItem", contentItem);

this._DataService.AddTermToContent(term, contentItem);

// We have adjusted a content item, remove it from cache
DataCache.RemoveCache(string.Format(DataCache.ContentItemsCacheKey, contentItem.ContentTypeId));
}

/// <summary>
Expand Down

0 comments on commit 60ff4af

Please sign in to comment.