CNBlogs DotText 1.0 Beta 2 重要更新
最近发现CNBlogs DotText 1.0 Beta 2 的一个对性能影响比较大的Bug,请使用CNBlogs DotText 1.0 Beta 2 的朋友及时更新。
更新方法:
在Dottext\Dottext.Common\Data\Transformer.cs中将方法GetCategoryEntryCount改为如下代码:
EntryQuery eq=new EntryQuery();
eq.PostType =PostType.Article|PostType.BlogPost;
eq.PostConfig = PostConfig.IsActive;
eq.CategoryID=categoryID;
return Entries.GetEntryCount(eq);
eq.PostType =PostType.Article|PostType.BlogPost;
eq.PostConfig = PostConfig.IsActive;
eq.CategoryID=categoryID;
return Entries.GetEntryCount(eq);