mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG FIX: Default sort columns now quoted properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@98232 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
67517144d6
commit
fda7836aca
@ -131,7 +131,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
"Stage", "Live"
|
"Stage", "Live"
|
||||||
);
|
);
|
||||||
|
|
||||||
static $default_sort = "Sort";
|
static $default_sort = "\"Sort\"";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If this is false, the class cannot be created in the CMS.
|
* If this is false, the class cannot be created in the CMS.
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
class File extends DataObject {
|
class File extends DataObject {
|
||||||
|
|
||||||
static $default_sort = "Name";
|
static $default_sort = "\"Name\"";
|
||||||
|
|
||||||
static $singular_name = "File";
|
static $singular_name = "File";
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ class PermissionRole extends DataObject {
|
|||||||
"Groups" => "Group",
|
"Groups" => "Group",
|
||||||
);
|
);
|
||||||
|
|
||||||
static $default_sort = 'Title';
|
static $default_sort = "\"Title\"";
|
||||||
|
|
||||||
function getCMSFields() {
|
function getCMSFields() {
|
||||||
$fields = parent::getCMSFields();
|
$fields = parent::getCMSFields();
|
||||||
|
@ -28,7 +28,7 @@ class Widget extends DataObject {
|
|||||||
static $many_many = array();
|
static $many_many = array();
|
||||||
static $belongs_many_many = array();
|
static $belongs_many_many = array();
|
||||||
|
|
||||||
static $default_sort = "Sort";
|
static $default_sort = "\"Sort\"";
|
||||||
|
|
||||||
static $title = "Widget Title";
|
static $title = "Widget Title";
|
||||||
static $cmsTitle = "Name of this widget";
|
static $cmsTitle = "Name of this widget";
|
||||||
|
Loading…
Reference in New Issue
Block a user