fix added to avoid a blank row in aggregate view
This commit is contained in:
parent
a170ee7308
commit
07819d895d
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ USING (history_id)
|
||||||
select count(history.file_id) as played, history.file_id as file_id
|
select count(history.file_id) as played, history.file_id as file_id
|
||||||
from cc_playout_history as history
|
from cc_playout_history as history
|
||||||
where history.starts >= '{$start}' and history.starts < '{$end}'
|
where history.starts >= '{$start}' and history.starts < '{$end}'
|
||||||
|
and history.file_id is not NULL
|
||||||
group by history.file_id
|
group by history.file_id
|
||||||
) AS playout
|
) AS playout
|
||||||
left join cc_files as file on (file.id = playout.file_id)";
|
left join cc_files as file on (file.id = playout.file_id)";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue