Changes

no edit summary
Line 59: Line 59:  
         end
 
         end
 
       end
 
       end
       if (proceed or (not idsList and not filter[1] and not filter[2]) or (filter[1] and filter[2] and string.match(q[filter[2]], filter[1]))) then
+
       if (proceed or (not idsList and not filter[1] and not filter[2]) or (filter[1] and filter[2] and q[filter[2]] and string.match(q[filter[2]], filter[1]))) then
         if(q.alias_of) then
+
         if(q.alias_of and filter[1]) then
 
             table.insert(result, _.format(table_row_alias, {
 
             table.insert(result, _.format(table_row_alias, {
 
                 label = q.label,
 
                 label = q.label,