Revision 60994
Added by Konstantina Galouni almost 3 years ago
dataProvider.service.ts | ||
---|---|---|
219 | 219 |
for(let i=0; i<length; i++) { |
220 | 220 |
mydata = data[5].length!=undefined ? data[5][i] : data[5]; |
221 | 221 |
if(mydata.hasOwnProperty("to")) { |
222 |
if(mydata['to'].class == "provides" && mydata['to'].type == "organization") {
|
|
222 |
if(mydata['to'].class == "isProvidedBy" && mydata['to'].type == "organization") {
|
|
223 | 223 |
//if(this.dataProviderInfo.organizations == undefined) { |
224 | 224 |
if(this.dataProviderInfo.organizations.length == 0) { |
225 | 225 |
//this.dataProviderInfo.organizations = new Array<{"name": string, "url": string}>(); |
Also available in: Unified diff
[Trunk | Library]: dataProvider.service.ts & searchDataproviders.service.ts:
[Bug fix] #6678 ticket - In order to get "organizations related to a datasource" (at most one), parse rels.rel.to.class "isProvidedBy" (instead of rels.rel.to.class "provides").