mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +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,
|
||||
query: {
|
||||
query_string: {
|
||||
query: `(${results}) AND -isInPurgatory:true AND price.isConsumable:true`,
|
||||
query: `(${results}) AND -isInPurgatory:true`,
|
||||
fields: ['dataToken']
|
||||
}
|
||||
}
|
||||
|
@ -88,13 +88,13 @@ const PreviousOrderQuery = gql`
|
||||
`
|
||||
const HighestLiquidityAssets = gql`
|
||||
query HighestLiquidiyAssets {
|
||||
pools(orderBy: valueLocked, orderDirection: desc, first: 15) {
|
||||
pools(
|
||||
where: { datatokenReserve_gte: 1 }
|
||||
orderBy: valueLocked
|
||||
orderDirection: desc
|
||||
first: 15
|
||||
) {
|
||||
id
|
||||
consumePrice
|
||||
spotPrice
|
||||
tx
|
||||
symbol
|
||||
name
|
||||
datatokenAddress
|
||||
valueLocked
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user