Skip to content

Set viewParameter is missing#58

Open
flovntp wants to merge 1 commit into
lolautruche:masterfrom
flovntp:patch-2
Open

Set viewParameter is missing#58
flovntp wants to merge 1 commit into
lolautruche:masterfrom
flovntp:patch-2

Conversation

@flovntp

@flovntp flovntp commented Apr 29, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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