forked from 0x2620/pandora
item sort is directly attached to clip
This commit is contained in:
parent
8b30add49e
commit
a149c7d7a0
1 changed files with 0 additions and 2 deletions
|
@ -102,8 +102,6 @@ def findClips(request, data):
|
||||||
subtitles = utils.get_by_key(layers, 'isSubtitles', True)
|
subtitles = utils.get_by_key(layers, 'isSubtitles', True)
|
||||||
layer_ids = [k['id'] for k in layers]
|
layer_ids = [k['id'] for k in layers]
|
||||||
keys = list(filter(lambda k: k not in layer_ids + ['annotations'], data['keys']))
|
keys = list(filter(lambda k: k not in layer_ids + ['annotations'], data['keys']))
|
||||||
if list(filter(lambda k: k not in models.Clip.clip_keys, keys)):
|
|
||||||
qs = qs.select_related('item__sort')
|
|
||||||
|
|
||||||
clips = {}
|
clips = {}
|
||||||
response['data']['items'] = clip_jsons = []
|
response['data']['items'] = clip_jsons = []
|
||||||
|
|
Loading…
Reference in a new issue