Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
When grouping dimension values it might happen that a ranking query already limited the amount of records. In that case a row with value __mtm_ranking_query_others__ will occur.
This currently fails for dimensions in milliseconds, as calculating with the __mtm_ranking_query_others__ value doesn't work.
This PR ensures that only numeric values are taken into account for that calculation.
[ ] Potential edge cases thought about (behavior of the code with strange input, with strange internal state or possible interactions with other Matomo subsystems)
[ ] Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
Description:
When grouping dimension values it might happen that a ranking query already limited the amount of records. In that case a row with value
__mtm_ranking_query_others__
will occur.This currently fails for dimensions in milliseconds, as calculating with the
__mtm_ranking_query_others__
value doesn't work.This PR ensures that only numeric values are taken into account for that calculation.
fixes #22579
Review