fold clips
This commit is contained in:
parent
e6d21ef0a7
commit
bfcf25e240
1 changed files with 3 additions and 0 deletions
|
@ -189,6 +189,9 @@ class ClipManager(Manager):
|
||||||
user)
|
user)
|
||||||
if conditions:
|
if conditions:
|
||||||
qs = qs.filter(conditions)
|
qs = qs.filter(conditions)
|
||||||
|
|
||||||
|
qs = qs.distinct()
|
||||||
|
|
||||||
if 'keys' in data:
|
if 'keys' in data:
|
||||||
layer_ids = [k['id'] for k in settings.CONFIG['layers']]
|
layer_ids = [k['id'] for k in settings.CONFIG['layers']]
|
||||||
for l in filter(lambda k: k in layer_ids, data['keys']):
|
for l in filter(lambda k: k in layer_ids, data['keys']):
|
||||||
|
|
Loading…
Reference in a new issue