Admin Report - User-to-User Messages - date range not respected

For the following URL /admin/reports/user_to_user_private_messages?category-id=all&end-date=2016-04-21&start-date=2016-04-10

Note start date of 2016-04-10.

A graph starting at 2016-03-22 is created:

4 Likes

Something is wacky with report dates, @sam mentioned there is a result total amount limiter, but it is still wacky.

@techapj can you add this to your list?

3 Likes

This was happening because Private Message admin reports do not support date/category filters as of now. It defaults to previous 30 days.

I removed the filter controls on PM reports to avoid confusion.


https://github.com/discourse/discourse/commit/89a7a90208697da9240c52a208e8f9a912128522

4 Likes

Weird, why is it different than the others?

1 Like

Definitely fix the filtering as opposed to removing the boxes, makes no sense not to support date ranges here.

1 Like

Okay, added support for date range filters in PM reports via:

https://github.com/discourse/discourse/commit/ee7ef46b9e29fb01e74f0828163a116818253d4b

7 Likes