CC-733 : Broadcast Log
This commit is contained in:
parent
6828c0b07c
commit
4732c0ad67
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ class Application_Model_PlayoutHistory {
|
||||||
$historyTable = "(
|
$historyTable = "(
|
||||||
select count(schedule.file_id) as played, schedule.file_id as file_id
|
select count(schedule.file_id) as played, schedule.file_id as file_id
|
||||||
from cc_schedule as schedule
|
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
|
group by schedule.file_id
|
||||||
)
|
)
|
||||||
AS playout left join cc_files as file on (file.id = playout.file_id)";
|
AS playout left join cc_files as file on (file.id = playout.file_id)";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue