• 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
Undo revision 1128838 by Alephnaught27 (talk)
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) then
+
       if(idsList == nil) 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 59: Line 61:  
         end
 
         end
 
       end
 
       end
       if (proceed or (filter[1] and filter[2] and (string.match(q[filter[2]], filter[1])))) then
+
       if (proceed or ((not filter[1] or not filter[2]) or (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