Skip to content

Commit

Permalink
Fixes category "latest arrivals" sort (vercel#1108)
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Robinson <[email protected]>
  • Loading branch information
manovotny and leerob authored Jul 25, 2023
1 parent 51dab5a commit 326f516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shopify/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export async function getCollectionProducts({
variables: {
handle: collection,
reverse,
sortKey
sortKey: sortKey === 'CREATED_AT' ? 'CREATED' : sortKey
}
});

Expand Down

0 comments on commit 326f516

Please sign in to comment.