In terms of post count, it feels correct. To display this number, we are using data from the /reviewable/334.json request. Data from /admin/users/29.json request is only used for IP lookup.
The difference between those two requests is that the first one is using User.user_stat.post_count, which counts only public posts (excluding posts in private categories and PMs). The second - admin - request is returning all the posts (including those in private categories and PMs).
In my case, 32 is displayed, even if the admin’s post count is 36.
No, the posts were all in categories, just like the one I used for flagging. The number of posts was always 0 when the join date is wrong.
(I did the re-test on my site that is still on Commits · discourse/discourse · GitHub. The repro on the weekend was a dev install because I wanted to ensure nothing had changed in the past 10 days)
사실상, 플래거(flower)가 대상 사용자와 동일할 때 직렬화기(serializer)가 해당 탭에 필요한 추가 정보를 건너뛰고 있었습니다. created_by와 target_created_by의 순서를 바꾸어 target_created_by가 먼저 직렬화되도록 강제하고, 인사이트 탭이 올바르게 채워지도록 수정했습니다.