CC-5898: Future repeating shows may not get generated and/or filled with content

Create and fill show instances when pypo requests the schedule
Changed getCcShowInstancess function to return all instances
Changed some function calls to retrieve only show instances scheduled in the future
This commit is contained in:
drigato 2014-08-16 11:05:55 -04:00
parent 1d43200041
commit 520387fcad
5 changed files with 27 additions and 7 deletions

View file

@ -335,7 +335,7 @@ class Application_Service_SchedulerService
$instanceIds = array();
if ($ccShowInstance->getCcShow()->isLinked()) {
foreach ($ccShowInstance->getCcShow()->getCcShowInstancess() as $instance) {
foreach ($ccShowInstance->getCcShow()->getFutureCcShowInstancess() as $instance) {
$instanceIds[] = $instance->getDbId();
$instances[] = $instance;
}