Modulo:Fumetto e animazione/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m fix |
m sposto |
||
Riga 430:
local keys, reverse_alias = {}, {}
local alias_table_name = table_name:find('genere') and 'genere' or table_name
for alias, name in pairs(cfg['alias_' .. alias_table_name] or {}) do
if not reverse_alias[name] then reverse_alias[name] = {} end
Riga 439 ⟶ 445:
local result, values = {}, {}
reverse_alias[key] = reverse_alias[key] or {}
▲ local pre_table_name
▲ if table_name == 'editore_sottotipo' or table_name == 'etichetta_sottotipo' then
▲ pre_table_name = cfg.sottotipo.fumetto
▲ elseif table_name == 'rete' or table_name == 'streaming' then
▲ pre_table_name = cfg.alias_sottotipo.cartone
▲ end
if pre_table_name then
for _, subtype in pairs(pre_table_name) do
|