diff --git a/ObjectHelper.inc b/ObjectHelper.inc index 9e842c33..27e2f746 100644 --- a/ObjectHelper.inc +++ b/ObjectHelper.inc @@ -1026,12 +1026,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) ||