[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:
parent
9877c09f3c
commit
5c13e6ac2f
|
@ -8,7 +8,7 @@ export class SearchFields extends SearchFieldsBase {
|
||||||
public RESULT_REFINE_FIELDS = [
|
public RESULT_REFINE_FIELDS = [
|
||||||
"instancetypename",
|
"instancetypename",
|
||||||
"openaccesscolor",
|
"openaccesscolor",
|
||||||
properties.environment!='production'?"foslabel":'fos',
|
'fos',
|
||||||
"relfunder", "relfundinglevel0_id", "relfundinglevel1_id", "relfundinglevel2_id",
|
"relfunder", "relfundinglevel0_id", "relfundinglevel1_id", "relfundinglevel2_id",
|
||||||
"relproject", "resulthostingdatasource", "community"];
|
"relproject", "resulthostingdatasource", "community"];
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ export class SearchFields extends SearchFieldsBase {
|
||||||
{type: "refine", title: "OA Routes", values: ["isgreen", "openaccesscolor", "isindiamondjournal"]},
|
{type: "refine", title: "OA Routes", values: ["isgreen", "openaccesscolor", "isindiamondjournal"]},
|
||||||
{type: "range", title: "", values: ["resultacceptanceyear", "resultacceptanceyear"]},
|
{type: "range", title: "", values: ["resultacceptanceyear", "resultacceptanceyear"]},
|
||||||
{type: "refine", title: "", values: [
|
{type: "refine", title: "", values: [
|
||||||
properties.environment!='production'?"foslabel":'fos', "publiclyfunded", "relfunder",
|
'fos', "publiclyfunded", "relfunder",
|
||||||
"relfundinglevel0_id", "relfundinglevel1_id", "relfundinglevel2_id",
|
"relfundinglevel0_id", "relfundinglevel1_id", "relfundinglevel2_id",
|
||||||
"relproject", "resulthostingdatasource", "community"
|
"relproject", "resulthostingdatasource", "community"
|
||||||
]}
|
]}
|
||||||
|
|
Loading…
Reference in New Issue