Skip to content

Commit

Permalink
Update comment regarding ManyManyList
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Penny committed Jul 12, 2022
1 parent ad59dad commit 446618b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/GridFieldOrderableRows.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,8 @@ protected function reorderItems($list, array $values, array $sortedIDs)
// sanity check.
$this->validateSortField($list);

// ManyManyList models are not represented by the ORM, and so they need to be updated through an SQL Query
// ManyManyList extra fields aren't easily updated via the ORM, and so they need to be updated through an SQL
// Query
if ($list instanceof ManyManyList) {
$sortTable = $this->getSortTable($list);

Expand Down

0 comments on commit 446618b

Please sign in to comment.