find clipQuery

This commit is contained in:
j 2011-10-19 17:55:29 +02:00
commit 898aa66509
3 changed files with 32 additions and 15 deletions

View file

@ -144,7 +144,7 @@ class Annotation(models.Model):
'saturation': 'clip__saturation',
'volume': 'clip__volume',
}.get(field, field))
if layer:
if layer or (keys and 'layer' in keys):
j['layer'] = self.layer.name
if keys:
_j = {}