Browse Source

Very small refactoring.

pull/65/head
Sebastian Stehle 9 years ago
parent
commit
73a90a2c46
  1. 4
      src/Squidex.Read.MongoDb/Contents/Visitors/PropertyVisitor.cs

4
src/Squidex.Read.MongoDb/Contents/Visitors/PropertyVisitor.cs

@ -37,9 +37,7 @@ namespace Squidex.Read.MongoDb.Contents.Visitors
propertyNames[1] = field.Id.ToString(); propertyNames[1] = field.Id.ToString();
} }
propertyNames[0] = "do"; var propertyName = $"do.{string.Join(".", propertyNames.Skip(1))}";
var propertyName = string.Join(".", propertyNames);
return new StringFieldDefinition<MongoContentEntity, object>(propertyName); return new StringFieldDefinition<MongoContentEntity, object>(propertyName);
} }

Loading…
Cancel
Save