From 0a94f72bc8b8cf084be0f23f2b3110b188f18f17 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Mon, 25 Jul 2022 02:05:47 -0700 Subject: [PATCH] sort by nft.created not metadata (#1605) --- src/@types/aquarius/SearchQuery.ts | 2 +- src/components/Home/index.tsx | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/@types/aquarius/SearchQuery.ts b/src/@types/aquarius/SearchQuery.ts index 29caa7f97..c4e0dea5c 100644 --- a/src/@types/aquarius/SearchQuery.ts +++ b/src/@types/aquarius/SearchQuery.ts @@ -4,7 +4,7 @@ export enum SortDirectionOptions { } export enum SortTermOptions { - Created = 'metadata.created', + Created = 'nft.created', Relevance = '_score', Stats = 'stats.orders' } diff --git a/src/components/Home/index.tsx b/src/components/Home/index.tsx index cc0da2e30..9034edea1 100644 --- a/src/components/Home/index.tsx +++ b/src/components/Home/index.tsx @@ -147,10 +147,7 @@ export default function HomePage(): ReactElement { title="Recently Published" query={queryLatest} action={ - }