playlists with no content will be filtered in the schedule show dialog.
This commit is contained in:
parent
a83a4b6bae
commit
54398b8c32
1 changed files with 1 additions and 1 deletions
|
@ -1792,7 +1792,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";
|
$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 <= INTERVAL '{$p_length}'";
|
$datatables["optWhere"][] = "plt.length <= INTERVAL '{$p_length}'";
|
||||||
|
$datatables["optWhere"][] = "plt.length > INTERVAL '00:00:00'";
|
||||||
|
|
||||||
return StoredFile::searchFiles($fromTable, $datatables);
|
return StoredFile::searchFiles($fromTable, $datatables);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue