CC-5364: Problem with drag & drop recording show on calendar
This commit is contained in:
parent
aadbf0b200
commit
4daa34d14b
|
@ -258,7 +258,7 @@ class Application_Service_CalendarService
|
||||||
$minRebroadcastStart = self::addDeltas($newEndsDateTime, 0, 60);
|
$minRebroadcastStart = self::addDeltas($newEndsDateTime, 0, 60);
|
||||||
//check if we are moving a recorded show less than 1 hour before any of its own rebroadcasts.
|
//check if we are moving a recorded show less than 1 hour before any of its own rebroadcasts.
|
||||||
$rebroadcasts = CcShowInstancesQuery::create()
|
$rebroadcasts = CcShowInstancesQuery::create()
|
||||||
->filterByDbOriginalShow($this->_instanceId)
|
->filterByDbOriginalShow($this->ccShow->getDbId())
|
||||||
->filterByDbStarts($minRebroadcastStart->format('Y-m-d H:i:s'), Criteria::LESS_THAN)
|
->filterByDbStarts($minRebroadcastStart->format('Y-m-d H:i:s'), Criteria::LESS_THAN)
|
||||||
->find();
|
->find();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue