dhiraj_gophane
10 years agoLeader
Posts count discrepancy for users on Recent Post Page
Hello All,
This is regarding posts count discrepancy for users on two different pages.
On one page we are fetching user's overall posts count by making rest API call to get metrics of users.
/users/id/${user_id}/metrics
Then post count is calculates by following logic:
<#assign posts_count = overall_posts?number - deleted_overall_posts?number />
When we visit same user's recentpostspage then it shows lesser posts (less count).
Is there any specific reason for this behavior?
Regards,
Dhiraj