diff --git a/code/GridFieldOrderableRows.php b/code/GridFieldOrderableRows.php index dd3cb2c..238b7f0 100755 --- a/code/GridFieldOrderableRows.php +++ b/code/GridFieldOrderableRows.php @@ -180,7 +180,7 @@ class GridFieldOrderableRows extends RequestHandler implements $classes = ClassInfo::dataClassesFor($list->dataClass()); foreach($classes as $class) { - if(singleton($class)->hasOwnTableDatabaseField($field)) { + if(singleton($class)->hasDataBaseField($field)) { return $class; } } diff --git a/templates/SilverStripe/Forms/GridField/GridFieldOrderableRowsDragHandle.ss b/templates/GridFieldOrderableRowsDragHandle.ss similarity index 100% rename from templates/SilverStripe/Forms/GridField/GridFieldOrderableRowsDragHandle.ss rename to templates/GridFieldOrderableRowsDragHandle.ss