[new-search-json | DONE | CHANGED]: searchFields.base.ts: Removed from facets and advanced filters fields "projectkeywords", "datasourceodcontenttypes", "datasourceodsubjects".
This commit is contained in:
parent
c697f4b27d
commit
387692c03a
|
@ -414,7 +414,7 @@ export class SearchFieldsBase {
|
||||||
{type: "refine", title: "", values: ["projectoamandatepublications"]}
|
{type: "refine", title: "", values: ["projectoamandatepublications"]}
|
||||||
];
|
];
|
||||||
|
|
||||||
public PROJECT_ADVANCED_FIELDS: string[] = ["q", "projectacronym", "projecttitle", "projectkeywords",
|
public PROJECT_ADVANCED_FIELDS: string[] = ["q", "projectacronym", "projecttitle",
|
||||||
"funder", "fundinglevel0_id", "fundinglevel1_id", "fundinglevel2_id",
|
"funder", "fundinglevel0_id", "fundinglevel1_id", "fundinglevel2_id",
|
||||||
"projectstartdate", "projectenddate",
|
"projectstartdate", "projectenddate",
|
||||||
"projectcode_nt", "relorganizationid", "collectedfromdatasourceid"];
|
"projectcode_nt", "relorganizationid", "collectedfromdatasourceid"];
|
||||||
|
@ -572,12 +572,12 @@ export class SearchFieldsBase {
|
||||||
public DATASOURCE_STATIC_FIELDS = ["eosctype"];
|
public DATASOURCE_STATIC_FIELDS = ["eosctype"];
|
||||||
|
|
||||||
// add Collected From Filter "collectedfromname"
|
// add Collected From Filter "collectedfromname"
|
||||||
public DATASOURCE_REFINE_FIELDS: string[] = ["eoscdatasourcetype", "datasourceodlanguages", "datasourceodcontenttypes",
|
public DATASOURCE_REFINE_FIELDS: string[] = ["eoscdatasourcetype", "datasourceodlanguages",
|
||||||
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
||||||
"datasourcejurisdiction"];
|
"datasourcejurisdiction"];
|
||||||
public DATASOURCE_ADVANCED_FIELDS: string[] = ["q", "datasourceofficialname",
|
public DATASOURCE_ADVANCED_FIELDS: string[] = ["q", "datasourceofficialname",
|
||||||
"datasourceenglishname", "datasourceodsubjects", "datasourcetypename", "datasourceodlanguages",
|
"datasourceenglishname", "datasourcetypename", "datasourceodlanguages",
|
||||||
"datasourceodcontenttypes", "datasourcecompatibilityname", "relorganizationid", "collectedfromdatasourceid", "pid"];
|
"datasourcecompatibilityname", "relorganizationid", "collectedfromdatasourceid", "pid"];
|
||||||
|
|
||||||
public DATASOURCE_FIELDS: { [key: string]: FieldDetails } = {
|
public DATASOURCE_FIELDS: { [key: string]: FieldDetails } = {
|
||||||
["q"]: {name: "Any field", type: "keyword", param: "q", operator: "op", equalityOperator: "=", filterType: null},
|
["q"]: {name: "Any field", type: "keyword", param: "q", operator: "op", equalityOperator: "=", filterType: null},
|
||||||
|
@ -744,7 +744,7 @@ export class SearchFieldsBase {
|
||||||
{"name": "country", "equalityOperator": " exact "},
|
{"name": "country", "equalityOperator": " exact "},
|
||||||
{"name": "datasourcesubject", "equalityOperator": " all "}
|
{"name": "datasourcesubject", "equalityOperator": " all "}
|
||||||
];
|
];
|
||||||
public DEPOSIT_DATASOURCE_REFINE_FIELDS: string[] = ["datasourcetypename", "country", "datasourceodsubjects", "datasourceodcontenttypes", "datasourcecompatibilityname", "datasourcethematic", "datasourcejurisdiction"];
|
public DEPOSIT_DATASOURCE_REFINE_FIELDS: string[] = ["datasourcetypename", "country", "datasourcecompatibilityname", "datasourcethematic", "datasourcejurisdiction"];
|
||||||
|
|
||||||
public DEPOSIT_DATASOURCE_FIELDS: { [key: string]: FieldDetails } = {
|
public DEPOSIT_DATASOURCE_FIELDS: { [key: string]: FieldDetails } = {
|
||||||
["datasourcetypeuiname"]: {
|
["datasourcetypeuiname"]: {
|
||||||
|
@ -798,15 +798,15 @@ export class SearchFieldsBase {
|
||||||
};
|
};
|
||||||
|
|
||||||
// public COMPATIBLE_DATAPROVIDER_FIELDS: string[] = ["datasourcetypename", "datasourcecompatibilityname"];
|
// public COMPATIBLE_DATAPROVIDER_FIELDS: string[] = ["datasourcetypename", "datasourcecompatibilityname"];
|
||||||
public COMPATIBLE_DATAPROVIDER_FIELDS: string[] = ["datasourcetypename", "datasourceodlanguages", "datasourceodcontenttypes",
|
public COMPATIBLE_DATAPROVIDER_FIELDS: string[] = ["datasourcetypename", "datasourceodlanguages",
|
||||||
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
||||||
"datasourcejurisdiction"];
|
"datasourcejurisdiction"];
|
||||||
// public ENTITY_REGISTRIES_FIELDS: string[] = ["datasourcetypename", "datasourcecompatibilityname"];
|
// public ENTITY_REGISTRIES_FIELDS: string[] = ["datasourcetypename", "datasourcecompatibilityname"];
|
||||||
public ENTITY_REGISTRIES_FIELDS: string[] = ["datasourcetypename", "datasourceodlanguages", "datasourceodcontenttypes",
|
public ENTITY_REGISTRIES_FIELDS: string[] = ["datasourcetypename", "datasourceodlanguages",
|
||||||
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
||||||
"datasourcejurisdiction"];
|
"datasourcejurisdiction"];
|
||||||
// public JOURNAL_FIELDS: string[] = ["datasourcetypename", "datasourcecompatibilityname"];
|
// public JOURNAL_FIELDS: string[] = ["datasourcetypename", "datasourcecompatibilityname"];
|
||||||
public JOURNAL_FIELDS: string[] = ["datasourcetypename", "datasourceodlanguages", "datasourceodcontenttypes",
|
public JOURNAL_FIELDS: string[] = ["datasourcetypename", "datasourceodlanguages",
|
||||||
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
"datasourcecompatibilityname", "country", "collectedfromname", "datasourcethematic",
|
||||||
"datasourcejurisdiction"];
|
"datasourcejurisdiction"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue