CC-3730 : Boundary tracks need recalculating when resizing current show on calendar (by dragging)
This commit is contained in:
parent
96d2f657f7
commit
d19ed4a97e
|
@ -196,7 +196,7 @@ class Application_Model_Show {
|
|||
try {
|
||||
//update the status flag in cc_schedule.
|
||||
$instances = CcShowInstancesQuery::create()
|
||||
->filterByDbStarts($current_timestamp, Criteria::GREATER_EQUAL)
|
||||
->filterByDbEnds($current_timestamp, Criteria::GREATER_THAN)
|
||||
->filterByDbShowId($this->_showId)
|
||||
->find($con);
|
||||
|
||||
|
|
|
@ -134,6 +134,9 @@ class CcShowInstances extends BaseCcShowInstances {
|
|||
->filterByDbPlayoutStatus(0, Criteria::GREATER_EQUAL)
|
||||
->filterByDbStarts($this->ends, Criteria::GREATER_THAN)
|
||||
->update(array('DbPlayoutStatus' => 0), $con);
|
||||
|
||||
$this->setDbLastScheduled(gmdate("Y-m-d H:i:s"));
|
||||
$this->save($con);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue