mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
sort by nft.created not metadata (#1605)
This commit is contained in:
parent
3a8e8b30c9
commit
0a94f72bc8
@ -4,7 +4,7 @@ export enum SortDirectionOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export enum SortTermOptions {
|
export enum SortTermOptions {
|
||||||
Created = 'metadata.created',
|
Created = 'nft.created',
|
||||||
Relevance = '_score',
|
Relevance = '_score',
|
||||||
Stats = 'stats.orders'
|
Stats = 'stats.orders'
|
||||||
}
|
}
|
||||||
|
@ -147,10 +147,7 @@ export default function HomePage(): ReactElement {
|
|||||||
title="Recently Published"
|
title="Recently Published"
|
||||||
query={queryLatest}
|
query={queryLatest}
|
||||||
action={
|
action={
|
||||||
<Button
|
<Button style="text" to="/search?sort=nft.created&sortOrder=desc">
|
||||||
style="text"
|
|
||||||
to="/search?sort=metadata.created&sortOrder=desc"
|
|
||||||
>
|
|
||||||
All data sets and algorithms →
|
All data sets and algorithms →
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user