Reply count is post count minus 1. If there is 3 posts in a thread, that means there is 2 replies to the original post.
So <p>Replies: $NumPosts</p> is not correct.
Since I have no idea how arithmetic operations work in silverstripe templates, or what are the variables available there, I won't file a pull request but this shouldn't be hard.
Reply count is post count minus 1. If there is 3 posts in a thread, that means there is 2 replies to the original post.
So
<p>Replies: $NumPosts</p>
is not correct.Since I have no idea how arithmetic operations work in silverstripe templates, or what are the variables available there, I won't file a pull request but this shouldn't be hard.