[Eosc Explore]: ISVocabularies.service.ts: [Bug fix] Added check if type is "service" (used to return null when selecting vocabulary fields in advanced search).
This commit is contained in:
parent
3c1623d12c
commit
9ac7ed93d4
|
@ -46,11 +46,11 @@ export class ISVocabulariesService {
|
|||
} else if (field == "access" && (entity == "publication" || entity == "dataset" || entity == "software" || entity == "other" || entity == "result")) {
|
||||
vocabulary = "dnet:access_modes.json";
|
||||
return this.getVocabularyFromServiceAsync(vocabulary, properties);
|
||||
} else if ((field == "type") && (entity == "dataprovider")) {
|
||||
} else if ((field == "type") && (entity == "dataprovider" || entity == "service")) {
|
||||
vocabulary = "dnet:datasource_typologies.json";
|
||||
return this.getVocabularyFromServiceAsync(vocabulary, properties);
|
||||
|
||||
} else if (field == "compatibility" && (entity == "dataprovider")) {
|
||||
} else if (field == "compatibility" && (entity == "dataprovider" || entity == "service")) {
|
||||
vocabulary = "dnet:datasourceCompatibilityLevel.json";
|
||||
return this.getVocabularyFromServiceAsync(vocabulary, properties);
|
||||
} else if (field == "country") {
|
||||
|
|
Loading…
Reference in New Issue