stepmania / stepmania-site

StepMania's Website, forums, etc.
https://www.stepmania.com/
19 stars 7 forks source link

Replies count on topic listing is falsy #2

Closed SoonDead closed 10 years ago

SoonDead commented 10 years ago

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.

shakesoda commented 10 years ago

I'll get this fixed - just have to add a function to the post model.