only show stats for selected files
This commit is contained in:
parent
bd763f0fa8
commit
08b8bd986a
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ Positions
|
|||
|
||||
else: # otherwise stats
|
||||
items = query['qs']
|
||||
files = File.objects.filter(item__in=items).filter(size__gt=0)
|
||||
files = File.objects.filter(item__in=items).filter(selected=True).filter(size__gt=0)
|
||||
r = files.aggregate(
|
||||
Sum('duration'),
|
||||
Sum('pixels'),
|
||||
|
|
Loading…
Reference in a new issue