-
-
Notifications
You must be signed in to change notification settings - Fork 860
Closed
Labels
Description
Bug Report
Current Behavior
When a user has some posts or discussions that where hidden, the number of posts & discussions shown on his profile still includes the ones that where hidden.
Steps to Reproduce (as Admin)
- Go to "All Discussions"
- Click on "Start a discussion"
- Fill in all needed content & post the discussion
- Add a comment to the discussion
- Go to Profile (using the Session Dropdown menu)
- See number of Posts 2, Discussions 1
- (so far all good)
- Go the just created discussion
- Hide the comment that was just added using the dotted menu
- Now hide the discussion
- Go to Profile (using the Session Dropdown menu)
- See number of Posts 2, Discussions 1
Expected Behavior
At step (12.) there should be Posts 0, Discussions 0
Environment
- Flarum version: 0.1.0-beta.14-dev
- Website URL: https://nightly.flarum.site
- PHP version: 7.3.11
- Browser: Chrome 84
This issue was originally detected by @clarkwinkelmann and mentioned in #2227