• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 118: Line 118:  
     end
 
     end
 
     local sorting
 
     local sorting
     if args.order then
+
     if args.order and args.order ~= "none" then
 
         local order_nodes = mw.text.split(args.order, "%s*,%s*")
 
         local order_nodes = mw.text.split(args.order, "%s*,%s*")
 
         sorting = function(a, b)
 
         sorting = function(a, b)
Line 134: Line 134:  
         end
 
         end
 
     end
 
     end
     table.sort(branching.index, sorting)
+
     if args.order ~= "none" then
     for _, from in ipairs(branching.index) do
+
        table.sort(branching.index, sorting)
 +
     end
 +
    -- for _, from in ipairs(branching.index) do
 
         -- table.sort(branching[from].index, sorting)
 
         -- table.sort(branching[from].index, sorting)
     end
+
     -- end
 
end
 
end
  
cssedit, gkautomate
7,064

edits

Navigation menu