Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Add total downloads stats to the admin stats page #1573

Open
awead opened this issue May 2, 2019 · 0 comments
Open

Add total downloads stats to the admin stats page #1573

awead opened this issue May 2, 2019 · 0 comments

Comments

@awead
Copy link
Contributor

awead commented May 2, 2019

Add another stat to the existing page with the total number of downloads between the two given dates. Ex:

FileDownloadStat.where(date: DateTime.parse('2016-07-01')..DateTime.parse('2017-07-01')).sum(&:downloads)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant