Opened 3 years ago
Last modified 2 years ago
#40 reopened defect
Comments count in posts view all show 0 comments
| Reported by: | petertennekes | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.9 |
| Component: | Comments | Version: | |
| Keywords: | Cc: |
Description
Preconditions: App running comments are made to several posts (v0.6.96)
Steps: Open posts view
Expected result: Comments count reflect number of comments
Actual result: all pots have a comment count of 0
Change History (6)
comment:1 Changed 3 years ago by tmar
comment:2 Changed 3 years ago by sber
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 3 years ago by tmar
- Resolution fixed deleted
- Status changed from closed to reopened
The solution is misleading, since the comment count shown is misleading, and does not reflect the actual number of comments.
comment:4 Changed 3 years ago by tmar
Also not updated when adding a new comment locally
comment:5 Changed 3 years ago by ahvenlam
I think this is probably best to fix when we start to use system.multicall api. We can then probably ask comment count for each post without too much overhead.
comment:6 Changed 2 years ago by daniloercoli
- Component changed from All platforms to Comments
- Milestone set to 0.9
- Priority changed from major to minor
Note: See
TracTickets for help on using
tickets.

This is currently just hardcoded to this dummy value, reason being, we currently don't have all the comment count data available (we only have the most recent X comments, not all of them).
Solution would be to implement wp.getCommentCount, or just remove the field for now...