Skip to content

Commit

Permalink
BUGFIX: Removed obsolete field File.Sort
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Minnee committed Apr 11, 2012
1 parent d982047 commit adf658c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions filesystem/File.php
Expand Up @@ -75,7 +75,6 @@ class File extends DataObject {
"Title" => "Varchar(255)",
"Filename" => "Text",
"Content" => "Text",
"Sort" => "Int",
// Only applies to files, doesn't inherit for folder
'ShowInSearch' => 'Boolean(1)',
);
Expand Down Expand Up @@ -840,7 +839,6 @@ function fieldLabels($includerelations = true) {
$labels['Filename'] = _t('File.Filename', 'Filename');
$labels['Filename'] = _t('File.Filename', 'Filename');
$labels['Content'] = _t('File.Content', 'Content');
$labels['Sort'] = _t('File.Sort', 'Sort Order');

return $labels;
}
Expand Down
2 changes: 1 addition & 1 deletion filesystem/Folder.php
Expand Up @@ -23,7 +23,7 @@ class Folder extends File {

static $plural_name = "Folders";

static $default_sort = "\"Sort\"";
static $default_sort = "\"Name\"";

/**
*
Expand Down

0 comments on commit adf658c

Please sign in to comment.