MuckRock / muckrock

MuckRock's source code - Please report bugs, issues and feature requests to info@muckrock.com
https://www.muckrock.com
GNU Affero General Public License v3.0
114 stars 22 forks source link

Homepage Completed & "Total requests success" numbers don't match #1181

Open morisy opened 7 years ago

morisy commented 7 years ago

Homepage "Completed" request number is significantly lower than the "Total Requests Success" number in stats.

https://www.muckrock.com/admin/accounts/statistics/2340/change/

I think the number on the home page should be "Total requests partial" plus "Total requests success."

mitchelljkotler commented 7 years ago

It looks like the difference is the homepage is excluding requests with the status 'done' or 'partial' which do not have a 'done date' set. All done and partial requests should have this set, so I'm assuming the ones missing it are just old. I also don't know why its excluding them.