diff --git a/framework/spree/api/operations/get-all-products.ts b/framework/spree/api/operations/get-all-products.ts index ca6023dc3..40407cd40 100644 --- a/framework/spree/api/operations/get-all-products.ts +++ b/framework/spree/api/operations/get-all-products.ts @@ -49,7 +49,7 @@ export default function getAllProductsOperation({ const first = getAllProductsVariables.first const filter = !defaultProductsTaxonomyId ? {} - : { filter: { taxons: defaultProductsTaxonomyId } } + : { filter: { taxons: defaultProductsTaxonomyId }, sort: '-updated_at' } const variables: SpreeSdkVariables = { methodPath: 'products.list',