From 1c54922692bd55a97913f3d19664b8786962e79a Mon Sep 17 00:00:00 2001 From: guillermo Date: Thu, 11 Jul 2024 14:33:15 +0200 Subject: [PATCH] feat: refs #7704 Refactor --- forms/ecomerce/catalog/ui.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/forms/ecomerce/catalog/ui.xml b/forms/ecomerce/catalog/ui.xml index 731ef647..a5bf966a 100644 --- a/forms/ecomerce/catalog/ui.xml +++ b/forms/ecomerce/catalog/ui.xml @@ -125,8 +125,7 @@ LEFT JOIN vn.ink k ON k.id = i.inkFk LEFT JOIN vn.producer p ON p.id = i.producerFk LEFT JOIN vn.origin o ON o.id = i.originFk - LEFT JOIN image im - ON im.collectionFk = 'catalog' + LEFT JOIN image im ON im.collectionFk = 'catalog' AND im.name = i.image WHERE b.available > 0 ORDER BY i.relevancy DESC, i.name, i.size