From f2c619d10c1c8e749742557010d35a402aff3e2f Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Fri, 12 Sep 2008 01:05:11 +0000 Subject: [PATCH] FEATURE: Files & Images tree now shows filename rather than meta-data title, to make it easier to find the file you're looking for git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62284 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- filesystem/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/File.php b/filesystem/File.php index a0e92233d..99c42ebd3 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -58,7 +58,7 @@ class File extends DataObject { } function TreeTitle() { - return $this->Title; + return $this->Name; } /**