Skip to content

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Aug 22, 2023

Description:

fixes #21051

Review

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Aug 22, 2023
@sgiehl sgiehl added this to the 5.0.0 milestone Aug 22, 2023
@sgiehl sgiehl force-pushed the m21051 branch 2 times, most recently from a5340cd to c8c0aa6 Compare August 23, 2023 08:21
{
if ($this->config->add_total_row) {
$totalTranslation = Piwik::translate('General_Total');
$this->config->selectable_rows[] = array(
$this->selectableRows['total'] = [
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the config here instead of the local property actually caused that the totals row was never displayed in the series picker. Not sure if that ever worked, but now it should 🎉

@sgiehl sgiehl force-pushed the m21051 branch 2 times, most recently from 9c79003 to a1e4766 Compare August 23, 2023 14:11
Copy link
Contributor

@michalkleiner michalkleiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and without the change the issue is present and with the change the selection persist page reloads + the Total selection is also available (previously it wasn't).

@sgiehl sgiehl merged commit 63005f7 into 5.x-dev Sep 4, 2023
@sgiehl sgiehl deleted the m21051 branch September 4, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Development

Successfully merging this pull request may close these issues.

Evolution graph in acquisitions overview not showing data
3 participants