CC-1887 shows are now resized properly with delta day. schedule dialog includes end day since shows can be longer than 1 day now, playlist search must look for an interval given the time increase.
This commit is contained in:
parent
0de162aa26
commit
424c6f0193
5 changed files with 17 additions and 9 deletions
|
@ -441,7 +441,7 @@ class ShowInstance {
|
|||
$starts = $this->getShowStart();
|
||||
$ends = $this->getShowEnd();
|
||||
|
||||
$sql = "SELECT timestamp '{$ends}' + interval '{$hours}:{$mins}'";
|
||||
$sql = "SELECT timestamp '{$ends}' + interval '{$deltaDay} days' + interval '{$hours}:{$mins}'";
|
||||
$new_ends = $CC_DBC->GetOne($sql);
|
||||
|
||||
//only need to check overlap if show increased in size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue