mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
remove price from all search queries
This commit is contained in:
parent
9abde21d3d
commit
f0c3fd6865
@ -30,9 +30,7 @@ export default class AssetsLatest extends PureComponent<{}, AssetsLatestState> {
|
||||
const searchQuery = {
|
||||
offset: 15,
|
||||
page: 1,
|
||||
query: {
|
||||
price: [-1, 1]
|
||||
},
|
||||
query: {},
|
||||
sort: {
|
||||
created: -1
|
||||
}
|
||||
|
@ -44,8 +44,7 @@ export default class ChannelTeaser extends Component<
|
||||
offset: 4,
|
||||
page: 1,
|
||||
query: {
|
||||
tags: [this.channel.tag],
|
||||
price: [-1, 1]
|
||||
tags: [this.channel.tag]
|
||||
},
|
||||
sort: {
|
||||
datePublished: 1
|
||||
|
@ -60,8 +60,7 @@ export default class Channel extends PureComponent<ChannelProps, ChannelState> {
|
||||
offset,
|
||||
page: currentPage,
|
||||
query: {
|
||||
tags: [this.channel.tag],
|
||||
price: [-1, 1]
|
||||
tags: [this.channel.tag]
|
||||
},
|
||||
sort: {
|
||||
datePublished: 1
|
||||
|
@ -41,9 +41,7 @@ export default class MarketProvider extends PureComponent<
|
||||
const searchQuery = {
|
||||
offset: 1,
|
||||
page: 1,
|
||||
query: {
|
||||
price: [-1, 1]
|
||||
},
|
||||
query: {},
|
||||
sort: {
|
||||
value: 1
|
||||
}
|
||||
|
@ -79,8 +79,7 @@ export default class Search extends PureComponent<SearchProps, SearchState> {
|
||||
offset,
|
||||
page: currentPage,
|
||||
query: {
|
||||
...queryValues,
|
||||
price: [-1, 1]
|
||||
...queryValues
|
||||
},
|
||||
sort: {
|
||||
datePublished: 1
|
||||
|
Loading…
Reference in New Issue
Block a user