3112 - lowercase facet orientation values (#150)

This commit is contained in:
Anders Gustafsson
2023-03-30 10:04:53 +02:00
committed by GitHub
parent 88fc6f67f1
commit aaaf8c052e
+4 -1
View File
@@ -78,7 +78,10 @@ const Product = {
return [ return [
{ attribute: 'color', values: colors }, { attribute: 'color', values: colors },
{ attribute: 'orientation', values: orientations }, {
attribute: 'orientation',
values: orientations.map((value) => value.toLowerCase()),
},
{ attribute: 'type', values: types }, { attribute: 'type', values: types },
]; ];
}, },