@tsteur opened this Issue on April 12th 2021 Member

In https://github.com/matomo-org/matomo/blob/4.3.0-b2/plugins/SegmentEditor/API.php#L278 we trigger to rearchive the segment whenever it is updated. However, we should only do this if the definition changes (because the meaning of the report changes) or if the autoArchive changes from false/0 to true/1 (because then we'd want to make sure to have all the needed reports for in the past depending on configured setting).

This will be useful as this way we don't invalidate and rearchive reports unnecessarily.

This Issue was closed on April 14th 2021
Powered by GitHub Issue Mirror