Migrate away from item translations for /modeling page

This commit is contained in:
Emi Matchu 2024-02-20 16:32:39 -08:00
parent c455617362
commit 28ddc3455b

View file

@ -515,8 +515,7 @@ async function runItemModelingQuery(db, filterToItemIds) {
INNER JOIN parents_swf_assets psa ON psa.parent_type = "Item"
AND psa.parent_id = items.id
INNER JOIN swf_assets ON swf_assets.id = psa.swf_asset_id
INNER JOIN item_translations it ON it.item_id = items.id AND it.locale = "en"
WHERE items.modeling_status_hint IS NULL AND it.name NOT LIKE "%MME%"
WHERE items.modeling_status_hint IS NULL AND items.name NOT LIKE "%MME%"
AND ${itemIdsCondition}
ORDER BY item_id
) T_ITEMS