SyliusResourceBundle
SyliusResourceBundle copied to clipboard
Sorting breaks when $resources isn't an instance of ResourceGridView
Sylius version affected: 1.8.5
Description
When creating a filtered list using the methods described on the documentation page, the sorting breaks because the returned class is an instance of PagerFanta\PagerFanta
, which doesn't have a data
key as required on line 1 of _sorting.html.twig
Steps to reproduce
- Create a list using the methods described in the documentation
- Try to visit the page
Possible Solution
Not a possible solution, but the problem seems to be that resources.data
does not exists when $resources
is an instance of PagerFanta
.
Are you explicitly specifying your own version of Manifold? That macro is only available in the latest version.
yes... well, I use yada, and manifold is included in that one. I excluded [manifold "0.1.4"]
from yada and added [manifold "0.1.5"]
. Seems to work now... Thx!
:dependencies ...
[yada "1.1.29" :exclusions [manifold]]
[manifold "0.1.5"]