mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Bug fixes
This commit is contained in:
parent
1722e9b47f
commit
7ee247e6df
@ -180,7 +180,7 @@ class GridFieldOrderableRows extends RequestHandler implements
|
|||||||
$classes = ClassInfo::dataClassesFor($list->dataClass());
|
$classes = ClassInfo::dataClassesFor($list->dataClass());
|
||||||
|
|
||||||
foreach($classes as $class) {
|
foreach($classes as $class) {
|
||||||
if(singleton($class)->hasOwnTableDatabaseField($field)) {
|
if(singleton($class)->hasDataBaseField($field)) {
|
||||||
return $class;
|
return $class;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user