Browse Source

Fixed bug in audio/video solution pack

We were implicitly passing the extra datastream version paramerter
in the islandora video solution pack because we were going to the
url: islandora/object/pid/datastream/MP3/view/name.mp3 and because
the datastream view fucntion now took an extra parameter this was
getting implicitly passed on. So we would try to download version
name.mp3. This makes sure that it won't happen.
pull/378/head
jonathangreen 12 years ago
parent
commit
cc1e4138fd
  1. 2
      islandora.module

2
islandora.module

@ -189,7 +189,7 @@ function islandora_menu() {
$items['islandora/object/%islandora_object/datastream/%islandora_datastream'] = array(
'title' => 'View datastream',
'page callback' => 'islandora_view_datastream',
'page arguments' => array(4, FALSE),
'page arguments' => array(4, FALSE, NULL),
'type' => MENU_CALLBACK,
'file' => 'includes/datastream.inc',
'access callback' => 'islandora_datastream_access',

Loading…
Cancel
Save