Files
Orchard/src/Orchard.Web/Packages/Orchard.Blogs/Models/BlogRecord.cs
rpaquay b88fe2667d Fix blog post count in front-end
BlogPostCount per blog is now recomputed from the list published blog whenever there is a change in any posts of the blog. This is more deterministic than trying to keep incrementing/decrementing when the changes happen.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045749
2010-01-20 21:55:49 +00:00

9 lines
279 B
C#

using Orchard.Data.Conventions;
using Orchard.ContentManagement.Records;
namespace Orchard.Blogs.Models {
public class BlogRecord : ContentPartRecord {
public virtual string Description { get; set; }
public virtual int PostCount { get; set; }
}
}