mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
BUGFIX: adding default sort
This commit is contained in:
parent
9fe54f18bc
commit
3a9f329a96
@ -32,6 +32,11 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
|
|||||||
'LastChanged'=>'LastChanged'
|
'LastChanged'=>'LastChanged'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
static $default_sort = array(
|
||||||
|
'DocumentSort ASC'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
static $singular_name = 'Document';
|
static $singular_name = 'Document';
|
||||||
|
|
||||||
static $plural_name = 'Documents';
|
static $plural_name = 'Documents';
|
||||||
|
Loading…
Reference in New Issue
Block a user