1

Closed

Comment count showing -1

description

ListMainCategories.cshtml - If there are not topics the comment count is showing -1.

It looks like this code is causing the issue:

var postCount = (cat.Topics.SelectMany(x => x.Posts).Count() - 1);
Closed Jun 5, 2014 at 8:41 AM by jimmysmithjnr
Please use our github page

https://github.com/leen3o/mvcforum/issues

comments