From c2faf9ea093a7f35a3838711624d94a1cd6dcc13 Mon Sep 17 00:00:00 2001 From: Chris Penny Date: Wed, 13 Jul 2022 07:45:29 +1200 Subject: [PATCH] Update comment regarding ManyManyList --- src/GridFieldOrderableRows.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GridFieldOrderableRows.php b/src/GridFieldOrderableRows.php index f44631f..6b3d8bb 100755 --- a/src/GridFieldOrderableRows.php +++ b/src/GridFieldOrderableRows.php @@ -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);