mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
Remove price.isConsumable from elastic query (#639)
* price.isConsumable removed from query * subgraph query updated Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
This commit is contained in:
parent
88663d812a
commit
f73191ef1a
@ -111,7 +111,7 @@ export default function HomePage(): ReactElement {
|
|||||||
offset: 15,
|
offset: 15,
|
||||||
query: {
|
query: {
|
||||||
query_string: {
|
query_string: {
|
||||||
query: `(${results}) AND -isInPurgatory:true AND price.isConsumable:true`,
|
query: `(${results}) AND -isInPurgatory:true`,
|
||||||
fields: ['dataToken']
|
fields: ['dataToken']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,13 +88,13 @@ const PreviousOrderQuery = gql`
|
|||||||
`
|
`
|
||||||
const HighestLiquidityAssets = gql`
|
const HighestLiquidityAssets = gql`
|
||||||
query HighestLiquidiyAssets {
|
query HighestLiquidiyAssets {
|
||||||
pools(orderBy: valueLocked, orderDirection: desc, first: 15) {
|
pools(
|
||||||
|
where: { datatokenReserve_gte: 1 }
|
||||||
|
orderBy: valueLocked
|
||||||
|
orderDirection: desc
|
||||||
|
first: 15
|
||||||
|
) {
|
||||||
id
|
id
|
||||||
consumePrice
|
|
||||||
spotPrice
|
|
||||||
tx
|
|
||||||
symbol
|
|
||||||
name
|
|
||||||
datatokenAddress
|
datatokenAddress
|
||||||
valueLocked
|
valueLocked
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user