Closed (fixed)
Project:
Filebrowser
Version:
6.x-2.0-rc12
Component:
Directory Listing Pages
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Oct 2010 at 09:30 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
opsidao commentedI added a print to each _filebrowser_sorter_* function in filebrowser.common.inc and I found that the _filebrowser_sorter_display_name callback is never called when sorting by "Display Name", while, for example, _filebrowser_sorter_description is called when sorting by that column.
Comment #2
opsidao commentedI found it! In most place, we have "display-name", but we should have "display_name" so when constructing the name of the callback we get the correct one.
I attach a patch that seems to fix this.
Comment #3
Yoran commentedThanks for this bug tracking !
In last dev, solution I use for this (and to handle metadatas) is to build sort function at runtime. Less duplicate code.