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

UI allows comparing with range when range requests are not allowed #15639

Open
Findus23 opened this issue Feb 28, 2020 · 0 comments
Open

UI allows comparing with range when range requests are not allowed #15639

Findus23 opened this issue Feb 28, 2020 · 0 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.

Comments

@Findus23
Copy link
Member

reported in https://forum.matomo.org/t/disable-custom-ranges-in-compare-to-feature/36294

When one sets

enabled_periods_UI = "day,week,month,year" # without range

the date selector hides the possibility to select a date range, but it still allows comparing to date ranges (which will succeed as the API is used).

grafik

when one also adds

enabled_periods_API = "day,week,month,year"

the UI still allows the comparisons, but the user will only see errors:

The period 'range' is not supported. Try any of the following instead: day, week, month, year

@Findus23 Findus23 added Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. labels Feb 28, 2020
@tsteur tsteur added this to the Priority Backlog (Help wanted) milestone Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

No branches or pull requests

2 participants