-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix activity report by having the user pick months
Just jumping back a number of months works fine for the activity _page_, but not for the activity _report_, since the report actually needs to deal with months. Instead of trying to be clever with auto-detecting the months that the user wants, now I just have them pick from the months of activity that exist in the database with a simple SQL query and multiple select control. Given that the user might have mis-selected the months or see data for a different set of months, I also added a text link and corresponding endpoint to delete the report from the cache so that the user doesn't have to wait 6 hours for it to expire.
- Loading branch information
Showing
6 changed files
with
149 additions
and
56 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.