Hello,
I have make one patch for two issues:

1. I want to hide .htaccess files from directory listing. Original filebrowser has such functionality.
I think, maybe it's better to make admin setting for exluded files - like .htaccess, .htpasswd etc. What do you think? I can try to code such functionality and send you a patch.

2. Directories was sorted in wrong orders. So I've added an rsort() in appropriate place.

I've also remove all trailing space from module code, so patch takes a large size, but actual changes are very little - couple of strings.

CommentFileSizeAuthor
#1 filebrowser_5.patch339 bytesbeholder
filebrowser_1.patch7.47 KBbeholder

Comments

beholder’s picture

Title: Filtering .htaccess files and subdirs order » Bug with subdirs order
Version: 6.x-1.1-beta1 » 6.x-1.x-dev
Category: task » bug
Status: Needs review » Patch (to be ported)
StatusFileSize
new339 bytes

Please, if you do not want to apply my first patch - here is tiny patch for bug with subdirs ordering. When you listing directories, they showing in reverse order. This patch will correct this.

Susurrus’s picture

Status: Patch (to be ported) » Fixed

Please read through creating patches in the handbooks. All of the patches you've provided are unusable and I have to change the source manually.

I've applied the last patch that sorts the directories. Please create a new issue for the additional functionality.

Also, why was this changed to "to be ported"?

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.