@ -34,12 +34,12 @@ class CollectionClass {
}
public static function getCollectionQuery($pid) {
if ($query = self::getCollectionQueryFromStream($pid)) {
$query = self::getCollectionQueryFromStream($pid);
return $query;
if (!$query) {
$query = self::getDefaultCollectionQuery($pid);
else {
return self::getDefaultCollectionQuery($pid);
drupal_alter("islandora_collection_query", $query, $pid);
protected static function getCollectionQueryFromStream($pid) {