Ticket #449 (fixed enhancement)
Sort plugins list
- Created: 2011-05-26 09:36:19
- Reported by: daris
- Assigned to: Reines
- Milestone: 1.4.6
- Component: plugins
- Priority: low
Plugins list in admin panel isn't sorted:
Languages and styles
Franz 2011-05-26 10:27:02
- Milestone set to 1.4.6.
- Owner set to Franz.
Ah, good catch. Thanks for the patch.
@Reines: Didn't we want to switch to using glob() anyway? That would allow us to automatically get the files in a sorted fashion.
Reines 2011-05-26 11:16:48
I would much rather use glob since it is easier/tidier, but some (really stupid) hosts seem to block it for "security reasons" so changing bits of the 1.4 branch which already work fine to something which could break them, isn't a good idea.
For 2.0 I would want to change them, though.
Franz 2011-05-26 11:41:59
Thanks again for the patch, Daris. Why the "@", though? As far as I can see in the PHP documentation, there are no errors to suppress.
daris 2011-05-26 11:45:22
I don't know I saw this somewhere in fluxbb (don't remember where)
daris 2011-05-26 14:53:48
It should use natcasesort() rather than sort() as forum_list_styles and forum_list_langs uses it for sorting
Reines 2011-06-05 19:19:41
- Owner changed from Franz to Reines.
- Status changed from open to fixed.