Igor Pantović

Results 5 comments of Igor Pantović

@XWB But you surely don't show end user number of comments which includes comments not visible to him? @merk I was thinking about that but then you end up with...

> so to me it doesnt matter so much that the comment count only matches visible comments. On the contrary, it shows end user wrong number of comments. Administrator will...

Oh, okay, I can see your point. I just thought this might be a bit more efficient but it probably wouldn't make much difference. I'll modify the ThreadCountersListener in that...

I've overridden view template comments_comments to only display STATE_VISIBLE {% if comment is fos_comment_in_state(constant('FOS\CommentBundle\Model\CommentInterface::STATE_VISIBLE')) %} Not sure if its a very good practice though and if there is more elegant...