• 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 50: Line 50:  
     for i, q in ipairs(data) do
 
     for i, q in ipairs(data) do
 
       local proceed = false
 
       local proceed = false
       if(idsList == nil) then
+
       if(idsList) then
        proceed = true
  −
      else
   
         for j, qid in ipairs(idsList) do
 
         for j, qid in ipairs(idsList) do
 
           if(q.label == qid) then
 
           if(q.label == qid) then
Line 61: Line 59:  
         end
 
         end
 
       end
 
       end
       if (proceed or ((not filter[1] or not filter[2]) or (string.match(q[filter[2]], filter[1])))) then
+
       if (proceed or (filter[1] and filter[2] and (string.match(q[filter[2]], filter[1])))) then
 
         if(q.alias_of) then
 
         if(q.alias_of) then
 
             table.insert(result, _.format(table_row_alias, {
 
             table.insert(result, _.format(table_row_alias, {

Navigation menu