CC-733 : Broadcast Log
This commit is contained in:
parent
6828c0b07c
commit
4732c0ad67
airtime_mvc/application/models
|
@ -65,7 +65,8 @@ class Application_Model_PlayoutHistory {
|
|||
$historyTable = "(
|
||||
select count(schedule.file_id) as played, schedule.file_id as file_id
|
||||
from cc_schedule as schedule
|
||||
where schedule.starts >= '{$start}' and schedule.starts < '{$end}'
|
||||
where schedule.starts >= '{$start}' and schedule.starts < '{$end}'
|
||||
and schedule.playout_status > 0 and schedule.media_item_played != FALSE
|
||||
group by schedule.file_id
|
||||
)
|
||||
AS playout left join cc_files as file on (file.id = playout.file_id)";
|
||||
|
|
Loading…
Reference in New Issue