diff --git a/code/model/DMSDocumentSet.php b/code/model/DMSDocumentSet.php index f902439..4ba2dc8 100644 --- a/code/model/DMSDocumentSet.php +++ b/code/model/DMSDocumentSet.php @@ -112,6 +112,8 @@ class DMSDocumentSet extends DataObject if (class_exists('GridFieldSortableRows')) { $gridFieldConfig->addComponent(new GridFieldSortableRows('DocumentSort')); + } elseif (class_exists('GridFieldOrderableRows')) { + $gridFieldConfig->addComponent(new GridFieldOrderableRows('DocumentSort')); } // Don't show which page this is if we're already editing within a page context