• Short of it is that I imported a db from discourse and I went in to mondgo to get ride of the "About blah blah category" posts. The posts are now deleted but the topic and post count are wrong (generally one more than actually exist). How is the topic and post count calculated? Can I get nodebb to recalc these? I've tried reset / reload and restart.

  • Wow just found this myself if anyone else is looking to do this.

    This data is stored on the Category object. Just replace the category # with your category:

    { _key : "category:#"} )

    Next you can use the update() method to change the values to match.

    { _key : "category:#" },
    { $set : { "topic_count" : numberofTopics } }

Suggested Topics

| | | |