From be9538bb7950ce9e86def19bbb3c920c0c9b4538 Mon Sep 17 00:00:00 2001 From: Nicolas Mahe Date: Fri, 2 Feb 2024 16:52:58 +0700 Subject: [PATCH] remove limit on offerOpenSales --- components/HomeSection/Featured.gql | 3 +-- pages/tokens/[id]/index.gql | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/components/HomeSection/Featured.gql b/components/HomeSection/Featured.gql index 7f781165..f019e3ef 100644 --- a/components/HomeSection/Featured.gql +++ b/components/HomeSection/Featured.gql @@ -71,8 +71,7 @@ query FetchFeaturedAssets( } sales: offerOpenSales( orderBy: [UNIT_PRICE_IN_REF_ASC, CREATED_AT_ASC] - filter: { expiredAt: { greaterThan: $now }, and: $salesFilter } - first: 100 # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales + filter: { expiredAt: { greaterThan: $now }, and: $salesFilter } # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales ) { nodes { id diff --git a/pages/tokens/[id]/index.gql b/pages/tokens/[id]/index.gql index 65580b84..f363a2ea 100644 --- a/pages/tokens/[id]/index.gql +++ b/pages/tokens/[id]/index.gql @@ -126,8 +126,7 @@ query FetchAsset( collectionAddress: { equalTo: $collectionAddress } tokenId: { equalTo: $tokenId } expiredAt: { greaterThan: $now } - } - first: 100 # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales + } # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales ) { nodes { id