Publish versioned objects on sort

This commit is contained in:
Andrew Houle 2019-01-25 10:19:03 -05:00
parent 856fce1b8c
commit da7c33cf48
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ class GridFieldOrderableRows extends RequestHandler implements
if ($record->$sortField != $newSortValue) {
$record->$sortField = $newSortValue;
$record->write();
$record->doPublish();
}
}
}