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
|
@ -1791,7 +1791,7 @@ class StoredFile {
|
|||
|
||||
$fromTable = "cc_playlist AS pl LEFT JOIN cc_playlisttimes AS plt USING(id) LEFT JOIN cc_subjs AS sub ON pl.editedby = sub.id";
|
||||
|
||||
$datatables["optWhere"][] = "plt.length <= '{$p_length}'";
|
||||
$datatables["optWhere"][] = "plt.length <= INTERVAL '{$p_length}'";
|
||||
|
||||
|
||||
return StoredFile::searchFiles($fromTable, $datatables);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue