bumblebeeC / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

FIX: Entires/posts are not displayed in admin #297

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get Posts from Admin page Posts

No posts are displayed. I found that the pageSize and postType have been 
switched with each other in DatabaseObjectProvider / GetEntries.

To fix use:
            using (IDataReader reader = _procedures.GetEntries(BlogId, categoryId, pageIndex, (int)postType, pageSize))

Original issue reported on code.google.com by kelt...@gmail.com on 26 Apr 2011 at 9:34