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 Aug 3, 2022
1 parent f217353 commit c2faf9e
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 @@ -599,7 +599,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 c2faf9e

Please sign in to comment.