Hi,
I'm using SortableGridField with SS 3.1.6, and noticed that on a many_many relation which has many_many_extrafield 'SortOrder' which I'm showing in CMS, records aren't shown in sort order. It is used in getCMSFields() like this:
function getCMSFields() {
$fields = parent::getCMSFields();
$keywen = $f->datafieldByName('Keywords_en');
$keywen->getConfig()->addComponent(new GridFieldSortableRows('SortOrder'));
return $fields;
}
Sort order is properly saved in the database, but data isn't sorted by it anymore when showing in CMS. Before it used to show properly. Attached pictures show that when enable drag and drop option isn't checked data isn't sorted by SortOrder column, but by ID. How can I achieve sorting by SortOrder when 'enable drag and drop' option isn't checked? Is this some issue with new update of SS?