Project

General

Profile

« Previous | Next » 

Revision 44894

add collected from in advanced search for datasources / projects

View differences:

searchFields.ts
48 48
    public PROJECT_ADVANCED_FIELDS:string[] =  ["q","projectacronym","projecttitle","projectkeywords",
49 49
    "funderid",  "fundinglevel0_id","fundinglevel1_id",  "fundinglevel2_id",
50 50
    "projectstartyear","projectendyear","projectecsc39",
51
    "projectcode","relorganizationid"];
51
    "projectcode","relorganizationid", "collectedfromdatasourceid"];
52 52
    public PROJECT_FIELDS: { [key:string]:FieldDetails}={
53 53
       ["q"]:{name:"All fields", type:"keyword", param:"q", equalityOperator: "="},
54 54
       ["projectacronym"]:{name:"Acronym", type:"keyword", param:"acronym", equalityOperator: "="},
......
64 64

  
65 65
       ["projectecsc39"]:{name:"Special Clause 39", type:"boolean", param:"sc39", equalityOperator: " exact "},
66 66
       ["projectcode"]:{name:"Project Code", type:"keyword", param:"code", equalityOperator: " exact "},
67
       ["relorganizationid"]:{name:"Organization", type:"entity", param:"organization", equalityOperator: " exact "}
67
       ["relorganizationid"]:{name:"Organization", type:"entity", param:"organization", equalityOperator: " exact "},
68
       ["collectedfromdatasourceid"]:{name:"Collected from Datasource", type:"entity", param:"collectedFrom", equalityOperator: " exact "}
69

  
68 70
     };
69 71

  
70 72
       //DATAPROVIDERS
......
73 75
         "datasourcecompatibilityname"];
74 76
         public DATASOURCE_ADVANCED_FIELDS:string[] = ["q", "datasourceofficialname",
75 77
         "datasourceenglishname","datasourceodsubjects", "datasourcetypeid","datasourceodlanguages",
76
         "datasourceodcontenttypes", "datasourcecompatibilityid","relorganizationid"];
78
         "datasourceodcontenttypes", "datasourcecompatibilityid","relorganizationid", "collectedfromdatasourceid"];
77 79

  
78 80
         public DATASOURCE_FIELDS: { [key:string]:FieldDetails}={
79 81
              ["q"]:{name:"All fields", type:"keyword", param:"q", equalityOperator: "="},
......
87 89
              ["datasourceodcontenttypes"]:{name:"Content", type:"refine", param:"content", equalityOperator: " exact "},
88 90
              ["datasourcecompatibilityid"]:{name:"Compatibility Level", type:"vocabulary", param:"compatibility", equalityOperator: " exact "},
89 91
              ["datasourcecompatibilityname"]:{name:"Compatibility Level", type:"refine", param:"compatibility", equalityOperator: " exact "},
90
              ["relorganizationid"]:{name:"Organization", type:"entity", param:"organization", equalityOperator: " exact "}
92
              ["relorganizationid"]:{name:"Organization", type:"entity", param:"organization", equalityOperator: " exact "},
93
              ["collectedfromdatasourceid"]:{name:"Collected from Datasource", type:"entity", param:"collectedFrom", equalityOperator: " exact "}
94

  
91 95
            };
92 96

  
93 97
          public COMPATIBLE_DATAPROVIDER_FIELDS:string[] = ["datasourcetypeuiid","datasourcecompatibilityid"];

Also available in: Unified diff