Remove DataTable::EMPTY_COLUMNS_METADATA_NAME metadata #6646
Labels
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
This metadata is used only by the Actions API and is only handled by getProcessedReport and Visualization.php. Handling it in "raw" API consumers makes mostly complicates the consumer code for small functionality that is only used by a handful of reports. Instead, the logic can be moved to Report metadata classes. The visualization code can be put in the
Report::configureView
method for reports that need to remove columns and the processed report logic can perhaps be put into a newReport::configureForApi
method.The text was updated successfully, but these errors were encountered: