specify columns in report in Report metadata and remove INDEX_... columns #6259
Labels
answered
For when a question was asked and we referred to forum or answered it.
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
Instead of having hard-coded INDEX_... consts, we can specify a report's columns in Report class metadata, eg,
then in the DB, the columns will have indexes determined by the data in Report metadata, eg,
will be converted into
This will allow plugins to specify new metrics w/o having to store the full string for each column in the DB.
Will need to provide backwards compatibility, though.
The text was updated successfully, but these errors were encountered: