Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: Removed obsolete field File.Sort

  • Loading branch information...
commit adf658c91fef69cf258ac3da68b3c06cfeca4cbf 1 parent d982047
@sminnee sminnee authored
Showing with 1 addition and 3 deletions.
  1. +0 −2  filesystem/File.php
  2. +1 −1  filesystem/Folder.php
View
2  filesystem/File.php
@@ -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)',
);
@@ -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;
}
View
2  filesystem/Folder.php
@@ -23,7 +23,7 @@ class Folder extends File {
static $plural_name = "Folders";
- static $default_sort = "\"Sort\"";
+ static $default_sort = "\"Name\"";
/**
*
Please sign in to comment.
Something went wrong with that request. Please try again.