Browse Source

Merge branch '6.x' of digital.march.es:/var/www/html/drupal/sites/all/modules/islandora/ into 6.x

pull/136/head
Adam Vessey 12 years ago
parent
commit
116916d5ce
  1. 3
      ObjectHelper.inc

3
ObjectHelper.inc

@ -1026,12 +1026,11 @@ PREFIX rels-ext: <info:fedora/fedora-system:def/relations-external#>
SELECT ?parentObject ?title ?content SELECT ?parentObject ?title ?content
FROM <#ri> FROM <#ri>
WHERE { WHERE {
?this ?relationship ?parentObject . <info:fedora/$pid> ?relationship ?parentObject .
?parentObject fedora-model:label ?title ; ?parentObject fedora-model:label ?title ;
fedora-model:state fedora-model:Active ; fedora-model:state fedora-model:Active ;
fedora-model:hasModel ?content . fedora-model:hasModel ?content .
FILTER( FILTER(
sameTerm(?this, <info:fedora/$pid>) &&
( (
sameTerm(?relationship, rels-ext:isMemberOfCollection) || sameTerm(?relationship, rels-ext:isMemberOfCollection) ||
sameTerm(?relationship, rels-ext:isMemberOf) || sameTerm(?relationship, rels-ext:isMemberOf) ||

Loading…
Cancel
Save