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
Customise periods enabled in the API and in calendar, new config setting #5037
Comments
In 77fa82f: Fixes #5037 You can now configure periods that are available in the UI and API ; The list of periods that are available in the Piwik calendar |
…ed to specify which periods are available in the calendar.
…ction "Report date to load by default"
…its own Period\Factory class
…e in the UI and API ; The list of periods that are available in the Piwik calendar ; Example use case: custom date range requests are processed in real time, ; so they may take a few minutes on very high traffic website: you may remove "range" below to disable this period enabled_periods_UI = "day,week,month,year,range" enabled_periods_API = "day,week,month,year,range"
It would be nice to be able to remove some periods (day, week, month, year, range) that are available to users via the calendar in Piwik and via the API.
The first use case is a practical one:
Maybe other users have other use cases to disable weeks and years for example, and only leave Days and Months.
Proposed:
This setting affects:
Feedback welcome!
The text was updated successfully, but these errors were encountered: