Skip to content

Converting answer to question comment sets incorrect comment count on question #195

@keto

Description

@keto

I believe it's this line

answer.parent.comment_count = 1 + old_comment_count

This issue also prevents the "see more comments" button from being rendered when there is more that max number of comments.

I can create a fix for this but how should I handle fixing the existing comment counts in DB? Should I add a management command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions