mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
List of algorithms to select seems capped (#618)
* removed paginations from the algorithms query and set offset * changed offset to 500 for compute algorithms query Co-authored-by: Norbi <katunanorbert@gmai.com>
This commit is contained in:
parent
5428a8e5b4
commit
18f3daed75
@ -126,7 +126,7 @@ export default function Compute({
|
|||||||
const algorithmQuery =
|
const algorithmQuery =
|
||||||
trustedAlgorithmList.length > 0 ? `(${algoQuerry}) AND` : ``
|
trustedAlgorithmList.length > 0 ? `(${algoQuerry}) AND` : ``
|
||||||
const query = {
|
const query = {
|
||||||
page: 1,
|
offset: 500,
|
||||||
query: {
|
query: {
|
||||||
query_string: {
|
query_string: {
|
||||||
query: `${algorithmQuery} service.attributes.main.type:algorithm -isInPurgatory:true`
|
query: `${algorithmQuery} service.attributes.main.type:algorithm -isInPurgatory:true`
|
||||||
|
@ -44,7 +44,7 @@ export default function FormEditComputeDataset({
|
|||||||
): Promise<AssetSelectionAsset[]> {
|
): Promise<AssetSelectionAsset[]> {
|
||||||
const source = axios.CancelToken.source()
|
const source = axios.CancelToken.source()
|
||||||
const query = {
|
const query = {
|
||||||
page: 1,
|
offset: 500,
|
||||||
query: {
|
query: {
|
||||||
query_string: {
|
query_string: {
|
||||||
query: `service.attributes.main.type:algorithm -isInPurgatory:true`
|
query: `service.attributes.main.type:algorithm -isInPurgatory:true`
|
||||||
|
Loading…
Reference in New Issue
Block a user