events.pm: load recordings for params
in the past all recordings have been loaded. At some point this has been changed to load only active recordings. Now there are params supported for both forms all_recordings - all recordings for a broadcast active_recording - add path of active recordings to broadcast only_active_recording - show only broadcasts with active recordings
This commit is contained in:
@@ -17,7 +17,7 @@ if ( $0 =~ /events.*?\.cgi$/ ) {
|
||||
my $config = config::getFromScriptLocation();
|
||||
|
||||
$params->{template} = '' unless defined $params->{template};
|
||||
$params->{recordings} = 1 if $params->{template} =~ /events_playout/;
|
||||
$params->{all_recordings} = 1 if $params->{template} =~ /events_playout/; # deprecated
|
||||
|
||||
$params->{exclude_locations} = 1;
|
||||
$params->{exclude_projects} = 1;
|
||||
|
||||
Reference in New Issue
Block a user