Page 1 of 1

Thread replies should be zero-indexed.

PostPosted: Sun Mar 30, 2014 5:59 am
by seven
If someone posts a thread and no one replies to it, there should be 0 replies, not one. Right now the first post is counted as a reply, which doesn't make sense.

Re: Thread replies should be zero-indexed.

PostPosted: Sun Mar 30, 2014 8:18 am
by Kyatric
Image
They are zero-indexed.
In case you wondered, I took this screenshot before answering your thread. Which now displays as having 1 reply.

Maybe there is an issue in case some spammer replied to a thread and we nuked it afterwards.
If that's the case, please give us a link to a thread that displays this issue.

Re: Thread replies should be zero-indexed.

PostPosted: Sun Mar 30, 2014 3:23 pm
by Beaverlicious
@Kyatric
Look at your "read before you post" example. It shows 1-reply but you are the only one that posted. Happens on a very large number of threads for me.

Re: Thread replies should be zero-indexed.

PostPosted: Mon Mar 31, 2014 2:56 am
by Kyatric
@Beaverlicious: there had been a spammer posting in that thread, or at least someone whose post was deleted afterwards.
Also, this topic comes from the old forum, where there maybe was an issue in that count.

Re: Thread replies should be zero-indexed.

PostPosted: Tue Apr 01, 2014 2:09 pm
by Tom
Kyatric is right, it's when a spammer posts in the forum and a mod/admin deletes their account. This deletes all their posts/threads but does not update the reply count. Will fix this shortly for future spam account deletions.

Re: Thread replies should be zero-indexed.

PostPosted: Tue Apr 01, 2014 2:12 pm
by Tom
Fixed for next upload, am resyncing topic/post counts now