diff --git a/lib/db_helper.rb b/lib/db_helper.rb index 0f06f66ff08..2881628e04d 100644 --- a/lib/db_helper.rb +++ b/lib/db_helper.rb @@ -33,7 +33,7 @@ class DbHelper column_name = rc["column_name"] result = connection.async_exec("SELECT #{column_name} FROM #{table_name} WHERE #{column_name} LIKE $1", args) rescue nil if result&.ntuples > 0 - found["#{column_name}.#{table_name}"] = result.map {|r| r[column_name]} + found["#{table_name}.#{column_name}"] = result.map {|r| r[column_name]} end end found