@sgiehl opened this Pull Request on November 4th 2019 Member

When viewing a insight report for a period other than day it might happen, that the report shows an error like this:


This happens when someone chooses to compare to same day in last year when viewing a day report and switching to another period afterwards.

When switching the compared date this setting is stored in the report options. When switching to another period like month, it tries to compare the current month to the month 365 months ago, as the stored option will be used.

As all periods except day should always compare to the last period before. This fix should solve this issue.

This Pull Request was closed on November 6th 2019
Powered by GitHub Issue Mirror