Skip to content

Commit

Permalink
add title sort key
Browse files Browse the repository at this point in the history
  • Loading branch information
dupreesi committed Oct 9, 2024
1 parent 953c754 commit 64e53a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/api-modules/products/use-cases/get-products.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const toProduct = (product) => ({
async function findProducts(client) {
const response = await client.request(`
{
products(first: 250) {
products(first: 250, sortKey: TITLE) {
edges {
node {
id
Expand Down

0 comments on commit 64e53a7

Please sign in to comment.