[FIX] Categorie files order in homepage result
This commit is contained in:
parent
c53680befe
commit
7285b4cf22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user