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