playlists with no content will be filtered in the schedule show dialog.

This commit is contained in:
naomiaro 2011-02-12 17:26:02 -05:00
parent a83a4b6bae
commit 54398b8c32
1 changed files with 1 additions and 1 deletions

View File

@ -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";
$datatables["optWhere"][] = "plt.length <= INTERVAL '{$p_length}'";
$datatables["optWhere"][] = "plt.length > INTERVAL '00:00:00'";
return StoredFile::searchFiles($fromTable, $datatables);
}