[master | DONE | CHANGED]: searchFields.irish.ts: Added "haslicense" field in RESULT_STATIC_FIELDS and RESULT_FIELDS_ORDERED.

This commit is contained in:
Konstantina Galouni 2024-03-27 16:31:34 +02:00
parent 090eaa08cc
commit 2882b1aefe
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import {SearchFieldsBase} from "src/app/openaireLibrary/utils/properties/searchF
import {properties} from "src/environments/environment"; import {properties} from "src/environments/environment";
export class SearchFields extends SearchFieldsBase { export class SearchFields extends SearchFieldsBase {
public RESULT_STATIC_FIELDS = ["resultbestaccessright", "type", public RESULT_STATIC_FIELDS = ["resultbestaccessright", "haslicense", "type",
"peerreviewed", "isgreen", "isindiamondjournal", "publiclyfunded"]; "peerreviewed", "isgreen", "isindiamondjournal", "publiclyfunded"];
public RESULT_REFINE_FIELDS = [ public RESULT_REFINE_FIELDS = [
@ -16,7 +16,7 @@ export class SearchFields extends SearchFieldsBase {
RESULT_FIELDS_ORDERED = [ RESULT_FIELDS_ORDERED = [
{type: "refine", title: "", values: ["type"]}, {type: "refine", title: "", values: ["type"]},
{type: "refine", title: "", values: ["instancetypename", "peerreviewed"]}, {type: "refine", title: "", values: ["instancetypename", "peerreviewed"]},
{type: "refine", title: "", values: ["resultbestaccessright"]}, {type: "refine", title: "", values: ["resultbestaccessright", "haslicense"]},
{type: "refine", title: "Access Routes", values: ["isgreen", "openaccesscolor", "isindiamondjournal"]}, {type: "refine", title: "Access 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: [