Skip to content

Folders should always be included in the file list #303

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Make a regular install
2. Open a "filebrowser" window

What is the expected output? What do you see instead?
The logical thing would be to always show folders, regardless of the "format" 
selected. Folders are only shown when selecting the "Folder" or "All" formats.


What revision of the FileBrowser are you using?
Not really sure, but I checked in trunk and the bug is still there.


What version/revision of Django are you using?
Django 1.2.3


Please provide any additional information below.
There's a patch in a issue #246 that makes filtering by type actually work, but 
it wasn't applied to trunk

About the patch:
    * Includes the one in #246
    * Also fixes a small bug in sorting: it was showing the wrong "arrow", up instead of down and vice versa.
    * Fix in the 'upload.html' template to only show the "Allowed" file types specified by the "format" option in FileBrowseField.

Original issue reported on code.google.com by eromi...@gmail.com on 9 Dec 2010 at 10:57

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions