republik-frontend
republik-frontend copied to clipboard
Profile comment totals are off
Bug Report
Comment totals on (very few) profile page seem off.
This is likely because unpublished comments are ommitted.
Possible Solutions
Can't think of a soley frontend solution, but in combination with a dedicated API flag – onlyPublished – this might work.
There are 4 scenarios for a profile page comment section I can think of: a) Member should see all its own comments, even unpublished ones, on his profile page b) Member with special roles (support, admin) should see all comments, too c) Regular users should see only published comments d) User, not signed in, should just see count of published comments only