'User notes' defaults to next 30 days

I believe there may be an issue with the /admin/reports/user_notes report - the default start/end date selection is set to yesterday+30 days. This is not consistent with other reports. It also affects the report on the /admin/dashboard/moderation tab.


Also, and I’m not sure if this is a bug or intentional, the start and end dates are exclusive and this is not consistent with the other reports either.

1 Like

I made a minor fix:


Thanks Joffrey! Just making sure you noticed the part about the defaults being incorrect too?

1 Like

Yes I have noticed it, but couldn’t repro yet. Can you try on latest and show me two screens (with URLs please) showing the difference and what you would have expected please?

1 Like