[FIX] Categorie files order in homepage result

This commit is contained in:
Olivier DOSSMANN 2013-08-22 15:30:41 +02:00
parent c53680befe
commit 7285b4cf22

View File

@ -251,6 +251,8 @@ end
-- Browse categ directory -- Browse categ directory
local categories_files = listing (currentpath .. '/' .. categ, categ_extension) 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 = '' local content = ''
if categories_files then if categories_files then
for k,v in pairs(categories_files) do for k,v in pairs(categories_files) do