[FIX] Categorie files order in homepage result

master
Olivier DOSSMANN 2013-08-22 15:30:41 +02:00
parent c53680befe
commit 7285b4cf22
1 changed files with 2 additions and 0 deletions

View File

@ -251,6 +251,8 @@ end
-- Browse categ directory
local categories_files = listing (currentpath .. '/' .. categ, categ_extension)
-- sort table in order to show categories in the alphabetical order
table.sort(categories_files)
local content = ''
if categories_files then
for k,v in pairs(categories_files) do