1
0
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:
Matthias Kretschmann 2019-05-27 14:54:07 +02:00
parent 9abde21d3d
commit f0c3fd6865
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 5 additions and 12 deletions

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -41,9 +41,7 @@ export default class MarketProvider extends PureComponent<
const searchQuery = {
offset: 1,
page: 1,
query: {
price: [-1, 1]
},
query: {},
sort: {
value: 1
}

View File

@ -79,8 +79,7 @@ export default class Search extends PureComponent<SearchProps, SearchState> {
offset,
page: currentPage,
query: {
...queryValues,
price: [-1, 1]
...queryValues
},
sort: {
datePublished: 1