Does anyone have any hints on activating the drag and drop reordering as seen in the AssetManager?
In the example code of ResourcePage is it possible to activate it in the 'new FileDataObjectManager'. I thought it would be possible with $manager->showAll = true; or $manager->sortable();
I managed to get it going in a sense by adding
"SortOrder" => "Int"
to db array, and
static $default_sort = "SortOrder";
in Resource.php
then
$manager->showAll = true;
in ResourcePage.php
I'm not sure if there's an easier way or if there's anything wrong with the current method...