|
|
|
@ -169,7 +169,7 @@ function islandora_get_orphaned_objects() {
|
|
|
|
|
$qp->solrParams['fl'] = $params; |
|
|
|
|
$qp->solrLimit = 1000000000; |
|
|
|
|
|
|
|
|
|
// Check islandora_compound_object filters, include compound children if necessary. |
|
|
|
|
// Check islandora_compound_object filters to include compound children. |
|
|
|
|
if (variable_get('islandora_compound_object_hide_child_objects_solr', TRUE)) { |
|
|
|
|
$fq = variable_get('islandora_compound_object_solr_fq', '-RELS_EXT_isConstituentOf_uri_mt:[* TO *]'); |
|
|
|
|
if (!empty($fq)) { |
|
|
|
@ -319,7 +319,6 @@ function islandora_delete_orphaned_objects_create_batch(array $pids) {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Solr query to check for deceased parents. |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
function islandora_identify_missing_parents($parent) { |
|
|
|
|
$parent_params = "PID"; |
|
|
|
|