From de637caf422a9728a5b8f3c0eec2bb6911e6f379 Mon Sep 17 00:00:00 2001 From: Olli Mannevaara Date: Mon, 29 Jan 2024 10:51:07 +0200 Subject: [PATCH] Fix a renamed field in ElasticSearch script --- src/app/portal/services/static-data.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/portal/services/static-data.service.ts b/src/app/portal/services/static-data.service.ts index c76f02192..ba061e771 100644 --- a/src/app/portal/services/static-data.service.ts +++ b/src/app/portal/services/static-data.service.ts @@ -121,7 +121,7 @@ export class StaticDataService { label: $localize`:@@publicationClassA3:Kirjan tai muun kokoomateoksen osa`, key: '', doc_count: 0, - }, + }, { type: 'A4', label: $localize`:@@publicationClassA4:Artikkeli konferenssijulkaisussa`, @@ -1129,7 +1129,7 @@ export class StaticDataService { order: 1, }, { - script: 'doc["selfArchivedCode.keyword"].value + doc["openAccessCode"].value.toString() + doc["publisherOpenAccessCode"].value.toString()', + script: 'doc["selfArchivedCode.keyword"].value + doc["openAccess"].value.toString() + doc["publisherOpenAccessCode"].value.toString()', name: 'openAccess', size: 50, order: 2,