# Question about the warning messages report

**URL:** https://meta.discourse.org/t/question-about-the-warning-messages-report/82157
**Category:** Bug
**Created:** [March 4, 2018, 11:21am UTC](https://meta.discourse.org/t/question-about-the-warning-messages-report/82157 "2018-03-04T11:21:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [March 4, 2018, 11:21am UTC](https://meta.discourse.org/t/question-about-the-warning-messages-report/82157/1 "2018-03-04T11:21:58Z")

</div>

Hi,

I do have a question about the report moderator\_warning\_private\_messages.  
What does that report count?  
Because we noticed that for example for February 18th the report does show 11 warnings but we have only sent 2 warning messages that day.  
(warning messages are the ones flagged as warning right after the user name “this is an official warning”?)

 ![grafik](https://global.discourse-cdn.com/meta/original/3X/4/9/49b2ac6920a965777209bdc65be4e3da9f076b5b.png)  
 ![grafik](https://global.discourse-cdn.com/meta/original/3X/3/b/3bc10d3661a14c20c8c1ec5b66318cb7c9ef151d.png)

best regards  
Guido

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 13, 2018, 6:00pm UTC](https://meta.discourse.org/t/question-about-the-warning-messages-report/82157/4 "2018-03-13T18:00:12Z")

</div>

I can repro this issue locally. The report is showing sum of _number of posts_ in each warning, instead of counting just the warning topics.

Added on my list to fix.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 13, 2018, 6:23pm UTC](https://meta.discourse.org/t/question-about-the-warning-messages-report/82157/5 "2018-03-13T18:23:37Z")

</div>

> [@techAPJ](#):
>
> The report is showing sum of _number of posts_ in each warning, instead of counting just the topics.

Just verified that this applies to “User-to-User” messages (`user_to_user_private_messages`) reports as well. We are currently showing sum of number of posts in all messages, instead of showing total number of PM topics.

I believe this is applicable to all “Messages” reports.

 ![53](https://global.discourse-cdn.com/meta/original/3X/2/f/2faf7cb043f3c622da2f2757aff83b9f4b7e0527.png)

Is this intentional? I am not sure.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 27, 2018, 1:08pm UTC](https://meta.discourse.org/t/question-about-the-warning-messages-report/82157/6 "2018-03-27T13:08:09Z")

</div>

I updated all the Private Message reports to show topic count (vs posts count), via:

[https://github.com/discourse/discourse/commit/518f7ba91b5b87896afa090b280dcddc93aa6dc6](https://github.com/discourse/discourse/commit/518f7ba91b5b87896afa090b280dcddc93aa6dc6)

I also added a new report for User-to-User messages with replies.

 ![28](https://global.discourse-cdn.com/meta/original/3X/8/0/8037630801270161cd61ae6eb0e8b727d989153d.png)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 28, 2018, 12:30pm UTC](https://meta.discourse.org/t/question-about-the-warning-messages-report/82157/7 "2018-03-28T12:30:10Z")

</div>

This topic was automatically closed after 23 hours. New replies are no longer allowed.
