Problem

While converting views-view-grouping.tpl.php to twig, an issue with the original phptemplate code has been encountered. The conversion to twig seems to solve this issue, but it's probably wise to still check this out.

Inside views-view-grouping.tpl.php, $content outputs an array instead of a string.
The grouping variables aren't correct as well.

Also see: http://drupal.org/node/1843752#comment-7429696

Comments

nesta_’s picture

StatusFileSize
new18.54 KB

Created the views in admin / structure / views
I grouped fields to reproduce the same image (array) and the template views-view-grouping.html.twig content is generated correctly.

Attached image.

star-szr’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)
Related issues: +#1843752: Convert views/templates/views-view-grouping.tpl.php to twig

Since this is Twig now, I guess we can call this fixed :)