I realize a clean installation sfSimpleBlogPlugin under symfony 1.0.17. There is a problem in query for the post count that runs on the action sfSimpleBlogPostAdmin / list:
$this->finder->withNbComments()
adds to the finder
leftJoin ( 'sfSimpleBlogComment c') ->
withColumn ( 'COUNT (sfSimpleBlogComment.Id)', 'NbComments') ->
where ( 'c.IsModerated', false) ->
groupBy ( 'c.SfBlogPostId');
that is fine to bring posts with the number of comments, but always gives 0 if you want to count the number of posts (sfPropelFinderPager->init() or sfDoctrineFinderPager-> init()) because the restriction
where( 'c.IsModerated' , False)
is maintained.
I think this could be solved adding a method setCountPager (equivalent to setPeerCountMethod) to sfPropelFinderPager or sfDoctrineFinderPager to add a custom finder for de count query.