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
The text was updated successfully, but these errors were encountered:
priyashantha
changed the title
GridFieldOrderableRows issue when data class is Versioned.
GridFieldOrderableRows issue when data class is Versioned and relation is has_many.
Jan 30, 2018
When the data class is Versioned and you re-order the records and publish it doesn't update the _Live table but only the stage table.
This happens because the condition in this line https://github.com/symbiote/silverstripe-gridfieldextensions/blob/master/src/GridFieldOrderableRows.php#L509 won't be true when the
$table_name
config is defined in the class.$class
is FQN but$this->getSortTable($list)
is just the table name.The text was updated successfully, but these errors were encountered: