Skip to content
This repository
Browse code

BUGFIX: Removed obsolete field File.Sort

  • Loading branch information...
commit adf658c91fef69cf258ac3da68b3c06cfeca4cbf 1 parent d982047
Sam Minnée authored April 11, 2012
2  filesystem/File.php
@@ -75,7 +75,6 @@ class File extends DataObject {
75 75
 		"Title" => "Varchar(255)",
76 76
 		"Filename" => "Text",
77 77
 		"Content" => "Text",
78  
-		"Sort" => "Int",
79 78
 		// Only applies to files, doesn't inherit for folder
80 79
 		'ShowInSearch' => 'Boolean(1)',
81 80
 	);
@@ -840,7 +839,6 @@ function fieldLabels($includerelations = true) {
840 839
 		$labels['Filename'] = _t('File.Filename', 'Filename');
841 840
 		$labels['Filename'] = _t('File.Filename', 'Filename');
842 841
 		$labels['Content'] = _t('File.Content', 'Content');
843  
-		$labels['Sort'] = _t('File.Sort', 'Sort Order');
844 842
 		
845 843
 		return $labels;
846 844
 	}
2  filesystem/Folder.php
@@ -23,7 +23,7 @@ class Folder extends File {
23 23
 
24 24
 	static $plural_name = "Folders";
25 25
 
26  
-	static $default_sort = "\"Sort\"";
  26
+	static $default_sort = "\"Name\"";
27 27
 	
28 28
 	/**
29 29
 	 * 

0 notes on commit adf658c

Please sign in to comment.
Something went wrong with that request. Please try again.