Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.0.0beta2
Description
The view parameters available in the full view of node that is executed through a Twig pagelayout are not correctly set.
The $view_parameters variable always contains the default values (no matter the view parameters set in the URL) + a viewbaseLayout key. For instance, on /(offset)10/(foo)/bar, {$view_parameters|dump( true(), 2, 'text' )} returns:
offset (boolean=false) year (boolean=false) month (boolean=false) day (boolean=false) namefilter (boolean=false) viewbaseLayout (string='EzPublishCoreBundle::viewbase_layout.html.twig')