silverstripe/silverstripe-framework — pull request #2064 by chillu (2013-06-05 16:14:35+00:00)
Title: NEW UploadField lists all files, shows path info

It doesn't make a lot of sense to limit the listing
to assets/Uploads/, which is the default set through FileField->folderName.
Showing all files regardless of folder makes them easier
to find, users can still opt-in to filtering by folder through the TreeDropdownField.

I've added a new `setDisplayFolderName()` method instead for this purpose,
which is separate from `File->setFolderName()` (the actual upload target).