diff --git a/ObjectHelper.inc b/ObjectHelper.inc index 564c451e..396505d4 100644 --- a/ObjectHelper.inc +++ b/ObjectHelper.inc @@ -1047,12 +1047,11 @@ PREFIX rels-ext: SELECT ?parentObject ?title ?content FROM <#ri> WHERE { - ?this ?relationship ?parentObject . + ?relationship ?parentObject . ?parentObject fedora-model:label ?title ; fedora-model:state fedora-model:Active ; fedora-model:hasModel ?content . FILTER( - sameTerm(?this, ) && ( sameTerm(?relationship, rels-ext:isMemberOfCollection) || sameTerm(?relationship, rels-ext:isMemberOf) ||