This commit is contained in:
Miriam Baglioni 2020-04-17 16:49:08 +02:00
parent adc11c97a7
commit c4987dd12a
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class PrepareDatasourceCountryAssociation {
getConstraintList("datasourcetype.classid = '", allowedtypes) + ") d " +
"JOIN ( SELECT source, target " +
" FROM relation " +
" WHERE relclass = 'provides' " +
" WHERE relclass = '" + RELATION_DATASOURCE_ORGANIZATION_REL_CLASS + "' " +
" AND datainfo.deletedbyinference = false ) rel " +
"ON d.id = rel.source " +
"JOIN (SELECT id, country " +