Fixes category "latest arrivals" sort (#1108)

Co-authored-by: Lee Robinson <lrobinson2011@gmail.com>
This commit is contained in:
Michael Novotny 2023-07-25 10:13:32 -05:00 committed by GitHub
parent 51dab5aee5
commit 326f516138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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