Skip to content

Fixes Ecommerce overview #13405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 10, 2018
Merged

Fixes Ecommerce overview #13405

merged 3 commits into from
Sep 10, 2018

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Sep 10, 2018

The ecommerce overview broke with the merge of #13293.
The parameters send to the API method were incomplete. See

image

@sgiehl sgiehl added Needs Review PRs that need a code review Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Sep 10, 2018
@sgiehl sgiehl added this to the 3.6.1 milestone Sep 10, 2018
@@ -76,11 +76,21 @@ public function getConversionsOverview()
{
$view = new View('@Ecommerce/conversionOverview');
$idGoal = Common::getRequestVar('idGoal', null, 'string');

$goalMetrics = Request::processRequest('Goals.get', array('idGoal' => $idGoal, 'filter_limit' => '-1'), $default = []);
$idSite = Common::getRequestVar('idSite', null, 'int');
Copy link
Member

Choose a reason for hiding this comment

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

here we could probably use $this->idSite but not needed. Should be all good to merge!

Copy link
Member Author

Choose a reason for hiding this comment

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

changed that

@diosmosis
Copy link
Member

Whoops, was fixing the build and fixed this directly in 3.x-dev, will merge this shortly

@diosmosis diosmosis merged commit 13aad03 into 3.x-dev Sep 10, 2018
@diosmosis diosmosis deleted the goalregression branch September 10, 2018 23:50
diosmosis pushed a commit that referenced this pull request Sep 20, 2018
* Pass correct parameters to API call

* use idSite property
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
* Pass correct parameters to API call

* use idSite property
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 Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Development

Successfully merging this pull request may close these issues.

3 participants