diff --git a/svc/routes/product_images.go b/svc/routes/product_images.go index c8543f6..07c7d06 100644 --- a/svc/routes/product_images.go +++ b/svc/routes/product_images.go @@ -201,11 +201,11 @@ ORDER BY items = matchedByDim } else if len(matchedByName) > 0 { items = matchedByName - } else if len(matchedByNameDim1Only) > 0 { - // dim3 eski/uyumsuz kayitlarda tutulmuyorsa en azindan 1.renk ile daralt. + } else if dim3 == "" && len(matchedByNameDim1Only) > 0 { + // Sadece 1. renk filtreleniyorsa dim1-only fallback kabul. items = matchedByNameDim1Only } else { - // Filtre verildi ama eslesme yoksa tum listeyi donmeyelim. + // dim3 (2. renk) verildiyse yanlis varyanta dusmemek icin bos don. items = []ProductImageItem{} } }