diff --git a/src/Merchello.Web/Search/ProductCollectionTreeQuery.cs b/src/Merchello.Web/Search/ProductCollectionTreeQuery.cs index b762781ee5..2ccc2d853e 100644 --- a/src/Merchello.Web/Search/ProductCollectionTreeQuery.cs +++ b/src/Merchello.Web/Search/ProductCollectionTreeQuery.cs @@ -38,7 +38,7 @@ public ProductCollectionTreeQuery(IMerchelloContext merchelloContext) /// public TreeNode GetTreeByValue(IProductCollection value) { - var cacheKey = GetCacheKey("GetTreeByValue"); + var cacheKey = GetCacheKey("GetTreeByValue", value.Key); var tree = (TreeNode)Cache.GetCacheItem(cacheKey); if (tree != null) return tree; @@ -76,4 +76,4 @@ public IEnumerable> GetRootTrees() Cache.GetCacheItem(cacheKey, () => factory.BuildTrees(GetAll())); } } -} \ No newline at end of file +}