CC-3174 : showbuilder

fixing jplayer preview
This commit is contained in:
Naomi Aro 2012-03-27 16:27:43 +02:00
parent dfc6ae6273
commit 9c52b2ee1f
4 changed files with 19 additions and 12 deletions

View file

@ -657,7 +657,8 @@ class Application_Model_ShowInstance {
$sql = "SELECT *
FROM (cc_schedule AS s LEFT JOIN cc_files AS f ON f.id = s.file_id)
WHERE s.instance_id = '{$this->_instanceId}' ORDER BY starts";
WHERE s.instance_id = '{$this->_instanceId}' AND s.playout_status >= 0
ORDER BY starts";
Logging::log($sql);