Revision 50991
Added by Konstantina Galouni about 6 years ago
entityRegistriesTable.component.ts | ||
---|---|---|
16 | 16 |
<search-page-table pageTitle="Registries/ Databases" |
17 | 17 |
type="content providers" entityType="dataprovider" [(filters)] = "filters" |
18 | 18 |
[(results)] = "results" [(searchUtils)] = "searchUtils" |
19 |
[columnNames]="columnNames" |
|
19 | 20 |
[showResultCount]=false |
20 | 21 |
[disableForms]="disableForms" |
21 | 22 |
[searchViewLink]="'/search/entity-registries'" |
... | ... | |
31 | 32 |
|
32 | 33 |
public results =[]; |
33 | 34 |
public filters =[]; |
35 |
public columnNames = ["Name", "Type", "Country", "Institution", "Compatibility"]; |
|
34 | 36 |
public baseUrl:string; |
35 | 37 |
public searchUtils:SearchUtilsClass = new SearchUtilsClass(); |
36 | 38 |
public sub: any; public subResults: any; |
Also available in: Unified diff
1. Community API added in env properties.
2. 'columnNames' variable added in search table pages (e.g. OpenAIRE Journals Table) to describe column names of the datatable.
3. Input 'columnNames' variable added in 'searchPageTableView' compontent, its value comes from search table pages (e.g. OpenAIRE Journals Table).
4. 'searchPageTableView' component updated and parametrized, to have datatable's columns either for content providers gotten by search API, or for projects gotten by community API.