[angular-16-irish-monitor | DONE | CHANGED]: searchFields.irish.ts: Removed environment check and query always for "fos" field in RESULT_REFINE_FIELDS and RESULT_FIELDS_ORDERED.

This commit is contained in:
Konstantina Galouni 2024-01-08 17:48:50 +02:00
parent 9877c09f3c
commit 5c13e6ac2f
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ export class SearchFields extends SearchFieldsBase {
public RESULT_REFINE_FIELDS = [
"instancetypename",
"openaccesscolor",
properties.environment!='production'?"foslabel":'fos',
'fos',
"relfunder", "relfundinglevel0_id", "relfundinglevel1_id", "relfundinglevel2_id",
"relproject", "resulthostingdatasource", "community"];
@ -19,7 +19,7 @@ export class SearchFields extends SearchFieldsBase {
{type: "refine", title: "OA Routes", values: ["isgreen", "openaccesscolor", "isindiamondjournal"]},
{type: "range", title: "", values: ["resultacceptanceyear", "resultacceptanceyear"]},
{type: "refine", title: "", values: [
properties.environment!='production'?"foslabel":'fos', "publiclyfunded", "relfunder",
'fos', "publiclyfunded", "relfunder",
"relfundinglevel0_id", "relfundinglevel1_id", "relfundinglevel2_id",
"relproject", "resulthostingdatasource", "community"
]}