Adding custom attributes to comments
Jamroom Developers
@michael - The intended behavior is to leave gaps in numbering to show where a comment is deleted. In result, the child count need only be incremented - the gaps are what we want. But thanks for your thoughts.
My concern is really getting the number of level-0 comments so that I know what high level number the next level-0 comment should be. So assuming we have 1, 1.1, 1.2, 1.2.1, 1.2.2, ... I need to have an efficient method to know that the next level-0 comment will be 2 (with future children of 2.1, 2.2, ...). I can always issue a query of course, but that is what I am trying to avoid. The ideal solution is to store the current number of level-0 children somewhere in jrComments.
Anyway, it was not my intent to consume your time on this so thank you again for your thoughts.