Craft 5 processHeaderRow
method breaks data tables for Twig Reports
#336
Labels
processHeaderRow
method breaks data tables for Twig Reports
#336
Description
In Craft 5, the
processHeaderRow
method (see below) breaks data tables for Twig Reports. I've tracked down the issue to this method:sprout/src/datastudio/components/datasources/CustomTwigTemplateQueryDataSource.php
Lines 172 to 196 in bde5230
Updating to the v4 version of the method seems to fixed for me, but it's probably worth double checking.
sprout/src/datastudio/components/datasources/CustomTwigTemplateQueryDataSource.php
Lines 172 to 194 in 800c386
How to reproduce
Just created a twig report using your example:
The data table will display the last 2 rows instead of 3.
Sprout Version
5.0.1
Craft Version
5.3.6
Database Type Version
MySQL 8
The text was updated successfully, but these errors were encountered: