Skip to content

Conversation

@flovntp
Copy link
Contributor

@flovntp flovntp commented Apr 29, 2022

otherwise, nothing is passed to the view in Ibexa 3.2.8.
And maybe it could be enhanced as doing this will directly push parameters in viewParameters, without prefixing it by provider_identifier.

otherwise, nothing is passed to the view in Ibexa 3.2.8.
And maybe it could be enhanced as doing this will directly push parameters in viewParameters, without prefixing it by provider_identifier.
$provider = $this->parameterProviders[$param['provider']];
$param = (object) $provider->getViewParameters($this->generateConfigurableView($view), $paramProviderOptions);
$param = $provider->getViewParameters($this->generateConfigurableView($view), $paramProviderOptions);
$view->setParameters($param);
Copy link
Owner

Choose a reason for hiding this comment

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

This shouldn't be needed as setParameters() is called a few lines below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants