From 005d153dd69009fd1712e5380e8ce022f389826f Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sat, 18 Jan 2025 11:39:01 +1000 Subject: Oops--. Forgot to commit this one. --- notYetAnotherWiki.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 3a95674..c3db5f1 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -237,6 +237,7 @@ for name, file in pairs(Files) do metadata.menu = '' if nil == metadata.title then metadata.title = metadata.pagetitle end if nil == metadata.title then metadata.title = bit end + if nil ~= Subs[path].files then table.sort(Subs[path].files, function(a, b) return (string.lower(a) < string.lower(b)) end) end for i, f in ipairs(Subs[path].files) do local title, url = nil, nil if '' == path then -- cgit v1.1