BUGFIX: default sort column now quoted

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@103182 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Geoff Munn 2010-04-20 04:50:30 +00:00 committed by Sam Minnee
parent 6410432a3a
commit d21e7b0623
4 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,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.

View File

@ -10,7 +10,7 @@
*/
class File extends DataObject {
static $default_sort = "Name";
static $default_sort = "\"Name\"";
static $singular_name = "File";

View File

@ -7,7 +7,7 @@
*/
class Folder extends File {
static $default_sort = "Sort";
static $default_sort = "\"Sort\"";
/*
* Find the given folder or create it, recursively.

View File

@ -20,7 +20,7 @@ class PermissionRole extends DataObject {
"Groups" => "Group",
);
static $default_sort = 'Title';
static $default_sort = '"Title"';
static $singular_name = 'Role';