diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index d40330661..eae320d7e 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -131,7 +131,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid "Stage", "Live" ); - static $default_sort = "Sort"; + static $default_sort = "\"Sort\""; /** * If this is false, the class cannot be created in the CMS. diff --git a/filesystem/File.php b/filesystem/File.php index 6485c21e2..7aeb84a36 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -10,7 +10,7 @@ */ class File extends DataObject { - static $default_sort = "Name"; + static $default_sort = "\"Name\""; static $singular_name = "File"; diff --git a/security/PermissionRole.php b/security/PermissionRole.php index b85e5ef0e..c3b4866b8 100644 --- a/security/PermissionRole.php +++ b/security/PermissionRole.php @@ -20,7 +20,7 @@ class PermissionRole extends DataObject { "Groups" => "Group", ); - static $default_sort = 'Title'; + static $default_sort = "\"Title\""; function getCMSFields() { $fields = parent::getCMSFields(); diff --git a/widgets/Widget.php b/widgets/Widget.php index cf0aee338..bf8e279b8 100755 --- a/widgets/Widget.php +++ b/widgets/Widget.php @@ -28,7 +28,7 @@ class Widget extends DataObject { static $many_many = array(); static $belongs_many_many = array(); - static $default_sort = "Sort"; + static $default_sort = "\"Sort\""; static $title = "Widget Title"; static $cmsTitle = "Name of this widget";