CC-4961: Show linking
Made some progress on show editing
This commit is contained in:
parent
438200425a
commit
f9f4e4f1fb
4 changed files with 281 additions and 28 deletions
|
@ -223,6 +223,8 @@ class Application_Service_ScheduleService
|
|||
|
||||
if ($currentUser->isAdminOrPM()) {
|
||||
$ccShow = $this->service_show->setShow($showData, false);
|
||||
|
||||
$this->service_showInstances->updateShowInstances($showData, $isRecorded, $repeatType);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -259,7 +261,7 @@ class Application_Service_ScheduleService
|
|||
|
||||
//if the show is repeating, set the start date to the next
|
||||
//repeating instance in the future
|
||||
if ($currentShowDay->getDbRepeatType() != -1) {
|
||||
if ($currentShowDay->isRepeating()) {
|
||||
$nextFutureRepeatShow = $this->service_showInstances
|
||||
->getNextFutureRepeatShowTime($formData["add_show_id"]);
|
||||
$originalShowStartDateTime = $nextFutureRepeatShow["starts"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue