Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Wrong number of replies on Monastery Gates

by bmann (Priest)
on Dec 12, 2004 at 01:02 UTC ( #414180=monkdiscuss: print w/ replies, xml ) Need Help??

I just visited the Monastery Gates for the first time in a while and I noticed that the number of replies is incorrect. I checked several of the nodes on the front page, and all reply counts were off.

For example, MS SQL problem shows 9 replies on The Monastery Gates, but I only count 6. 2 of these six are second level replies.

Update: Just did a very quick check on SOPW, Discussions and Meditations and those counts look good.

Update: Looks like it has something to do with the "Show count of all replies" option at user settings

Comment on Wrong number of replies on Monastery Gates
Re: Wrong number of replies on Monastery Gates
by simonm (Vicar) on Dec 12, 2004 at 01:37 UTC
    In my browser, the front page shows "4 replies" for that node. Did you just mis-read it, or are you really getting a different count?
      No, I didn't misread it. I checked several nodes and I'm really getting a different count. It looks like a glitch counting nested replies.

      If you want to see it, go to User Settings and check "Show count of all replies". (I just unchecked it and went to the front page and now it's correct - "4 replies".)

        It's showing direct replies, not replies to replies, and "it's not a bug, it's a feature!". A feature of questionable value but probably DB performance related?

        I noticed that one a while back but eventually worked out (or guessed as I didn't have confirmation) that it was indeed just counting the direct replies to each post and not the replies to those aforementioned replies.

        I guess it makes more sense that way as it's reflecting the actual number of "new" points / replies made to a post rather than just the following chat / debate ;)

        These days I tend to go straight to "newest nodes" when I log in anyhow as I find it easier to follow.

        --- Jay

        All code is untested unless otherwise stated.
        All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
        If in doubt ask.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://414180]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-08-01 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (257 votes), past polls