You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me this generates the error "Couldn't find the sort field 'SectionSort'" when saving sections or opening sections to edit. Initial create works.
To fix edit ShopFrontSection.php line 70
Change
$gridField->getConfig()->addComponent(new GridFieldOrderableRows('SectionSort'));
to
$gridField->getConfig()->addComponent(new GridFieldOrderableRows('Sort'));
The text was updated successfully, but these errors were encountered:
I think it's once the Section has a linked category from the DisplayLogicWrap.
Products not held in the main shop products don't have the SectionSort, just has the Sort from SiteTree.
For me this generates the error "Couldn't find the sort field 'SectionSort'" when saving sections or opening sections to edit. Initial create works.
To fix edit ShopFrontSection.php line 70
Change
$gridField->getConfig()->addComponent(new GridFieldOrderableRows('SectionSort'));
to
$gridField->getConfig()->addComponent(new GridFieldOrderableRows('Sort'));
The text was updated successfully, but these errors were encountered: