diff --git a/includes/datastream.inc b/includes/datastream.inc index 96ead571..a93b4c60 100644 --- a/includes/datastream.inc +++ b/includes/datastream.inc @@ -65,6 +65,11 @@ function islandora_view_datastream(AbstractDatastream $datastream, $download = F } header("Content-Disposition: attachment; filename=\"$filename\""); } + else { + if ($datastream->controlGroup == 'R') { + drupal_goto($datastream->url); + } + } $cache_check = islandora_view_datastream_cache_check($datastream); if ($cache_check !== 200) {