Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix analytics grouped by day with nil page views average #3159

Merged
merged 1 commit into from Jun 14, 2019
Merged

Fix analytics grouped by day with nil page views average #3159

merged 1 commit into from Jun 14, 2019

Conversation

rhymes
Copy link
Contributor

@rhymes rhymes commented Jun 14, 2019

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Documentation Update

Description

I'm not sure how this is happening on production, but I guess there are page views that have time_tracked_in_seconds that is nil for specific articles. If the average results in NULL then the analytics page breaks.

This is a fix for that.

Added to documentation?

  • docs.dev.to
  • readme
  • no documentation needed

@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Jun 14, 2019
@rhymes rhymes requested a review from Zhao-Andy June 14, 2019 15:16
@rhymes rhymes self-assigned this Jun 14, 2019
Copy link
Contributor

@Zhao-Andy Zhao-Andy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@pr-triage pr-triage bot added PR: reviewed-approved bot applied label for PR's where reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Jun 14, 2019
@maestromac maestromac merged commit aa29a5c into forem:master Jun 14, 2019
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: reviewed-approved bot applied label for PR's where reviewer approves changes labels Jun 14, 2019
@rhymes rhymes deleted the rhymes/fix-bug-page-views-average branch June 14, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants