mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
6410432a3a
commit
d21e7b0623
@ -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.
|
||||
|
@ -10,7 +10,7 @@
|
||||
*/
|
||||
class File extends DataObject {
|
||||
|
||||
static $default_sort = "Name";
|
||||
static $default_sort = "\"Name\"";
|
||||
|
||||
static $singular_name = "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.
|
||||
|
@ -20,7 +20,7 @@ class PermissionRole extends DataObject {
|
||||
"Groups" => "Group",
|
||||
);
|
||||
|
||||
static $default_sort = 'Title';
|
||||
static $default_sort = '"Title"';
|
||||
|
||||
static $singular_name = 'Role';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user