I am trying to make the filters as configured by Tweakwise however, when trying to access to settings, the magic getters for isCollapsible and isCollapsed are returning null. The other getters are working as expected.
I've tried to fix this by myself, but this is not possible. I tried to do so by creating a preference for the SettingsType model but this is not possible because the model isn't instantiated by the ObjectManager.
Environment
PHP Version: 7.0.18
Magento Version: 2.1.7 EE
Tweakwise Version: 1.0.x-dev
Magento Deploy Mode: developer
Steps to reproduce
Install Magento 2.17
Install Tweakwise 1.0-x-dev
In LayeredNavigation/templates/layer/view.phtml try to dump $filter->getFacet()->getFacetSettings()->getIsCollapsible();
Actual result
Both functions return NULL
Expected result
Both functions return their values as defined in Tweakwise
Issue Brief
I am trying to make the filters as configured by Tweakwise however, when trying to access to settings, the magic getters for
isCollapsible
andisCollapsed
are returning null. The other getters are working as expected.I've tried to fix this by myself, but this is not possible. I tried to do so by creating a preference for the
SettingsType
model but this is not possible because the model isn't instantiated by the ObjectManager.Environment
Steps to reproduce
$filter->getFacet()->getFacetSettings()->getIsCollapsible();
Actual result
NULL
Expected result