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:
Naomi 2011-02-08 15:06:31 -05:00
parent 0de162aa26
commit 424c6f0193
5 changed files with 17 additions and 9 deletions

View file

@ -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.