From e8d11d109bbb2eb3fd0e5e22d45266435fb02b34 Mon Sep 17 00:00:00 2001 From: Frederico Teixeira Date: Thu, 10 Sep 2020 12:19:38 +0000 Subject: [PATCH] Switched mesh-ui search sort from creation date to relevancy score --- src/app/core/providers/effects/list-effects.service.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/app/core/providers/effects/list-effects.service.ts b/src/app/core/providers/effects/list-effects.service.ts index e7c1c0b7f..7f315f9eb 100644 --- a/src/app/core/providers/effects/list-effects.service.ts +++ b/src/app/core/providers/effects/list-effects.service.ts @@ -211,12 +211,7 @@ export class ListEffectsService { } ] } - }, - sort: [ - { - created: 'asc' - } - ] + } }; return this.api.project.searchNodes({ project }, query).pipe( @@ -239,8 +234,7 @@ export class ListEffectsService { /*match_phrase: { 'displayField.value': term, }*/ - }, - sort: [{ created: 'asc' }] + } }; return this.api.project.searchNodes({ project }, query).pipe(