Updates EntityRepository to get the variant names for content items ... for the non-paged query which we can use in the tree
This commit is contained in:
@@ -217,7 +217,7 @@ namespace Umbraco.Web.Trees
|
||||
// we'll mock using this and it will just be some mock data
|
||||
foreach(var e in result)
|
||||
{
|
||||
if (e.AdditionalData.TryGetValue("VariantNames", out var variantNames))
|
||||
if (e.AdditionalData.TryGetValue("VariantInfo", out var variantNames))
|
||||
{
|
||||
var casted = (IDictionary<int, string>)variantNames;
|
||||
e.Name = casted[langId.Value];
|
||||
|
||||
Reference in New Issue
Block a user