Fixes category "latest arrivals" sort

This commit is contained in:
Michael Novotny 2023-07-25 10:08:53 -05:00
parent 37d7522d87
commit c369f2149f
No known key found for this signature in database

View File

@ -289,7 +289,7 @@ export async function getCollectionProducts({
variables: { variables: {
handle: collection, handle: collection,
reverse, reverse,
sortKey sortKey: sortKey === 'CREATED_AT' ? 'CREATED' : sortKey
} }
}); });