Modifying some export handlers.

--HG--
branch : dev
This commit is contained in:
Suha Can
2011-03-15 16:45:25 -07:00
parent 123dc56f85
commit 988d2d44cf
2 changed files with 1 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ namespace Orchard.Core.Common.Drivers {
}
protected override void Exporting(ContentPart part, TextField field, ExportContentContext context) {
context.Element(field.FieldDefinition.Name).SetAttributeValue("Text", field.Value);
context.Element(field.FieldDefinition.Name + "." + field.Name).SetAttributeValue("Text", field.Value);
}
}
}

View File

@@ -16,7 +16,6 @@ namespace Orchard.Comments.Handlers {
if (part != null) {
context.Metadata.Identity.Add("Comment.CommentAuthor", part.Record.Author);
context.Metadata.Identity.Add("Comment.CommentDateUtc", part.Record.CommentDateUtc.ToString());
}
}
}